| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
need to support relative paths in its 'to' attribute since one can create a symlink pointing to a relative location. This is useful if the directory that symlink resides in moves to a different place (e.g. mounting a disk on a separate location).
This commit preserves relative paths inside the "encode_path" method used by the link operations and expands relative paths in similar fashion when being used by file operations.
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 1241ea6f9866d0e61d11129bb32e5fc96cd2bac0, reversing
changes made to 34d956c6b96087e6ca4bfbc9080037ded481709d.
Conflicts:
spec/functional/resource/file_spec.rb
spec/functional/resource/link_spec.rb
spec/unit/provider/link_spec.rb
|
|\
| |
| | |
Fix attribute whitelisting
|
| | |
|
|/
|
|
| |
False-y values are still there.
|
|
|
|
|
|
| |
The error message from OpenSSL when connecting to a non-ssl service is
confusing--it looks like a certificate validation failure. Catch the
error and explain what caused it.
|
| |
|
|\
| |
| | |
Resolve the circular dependency between ProviderResolver and Resource.
|
| |
| |
| |
| | |
https://github.com/opscode/chef/pull/2610.
|
|/ |
|
|\
| |
| | |
Fix Digester to require its dependencies
|
|/
|
|
|
|
|
|
| |
Without thus using rspec gets you:
```
uninitialized constant Chef::Digester::Singleton
```
|
|\
| |
| | |
Fixes #2578, check that `installed` isn't empty
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The underlying issue in #2578 is when a formula is `keg_only`, but not
installed, we're sending `#last` to an empty Array, which returns
`nil`, and causes the `NoMethodError` reported in #2578 and in the
homebrew cookbook issue. This should also resolve that issue:
https://github.com/opscode-cookbooks/homebrew/issues/53
|
|\ \
| |/
|/| |
Stub windows? check in the unit test to make sure specs are green on windows
|
|/ |
|
|\
| |
| | |
Fix issue where Windows::Constants could potentially not exist, causing win event log module to crash
|
| |
| |
| |
| |
| |
| | |
event log module to crash
Fix for Issue #2560
|
|\ \
| | |
| | | |
Fix windows service when :interval is set
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
windows service is enabled.
Make sure that we don't raise error when :interval is set with :client_fork if we are on windows.
|
|\ \
| | |
| | | |
Restore compatibility with knife-windows
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Chef::Knife::Core::BootstrapContext
and uses the Chef 11 arity in its constructor (https://github.com/opscode/knife-windows/blob/master/lib/chef/knife/core/windows_bootstrap_context.rb#L36)
In order to protect compatibility with knife-windows make sure that we have a default
for the new parameter that is added to the BootstrapContext constructor.
|
|\ \
| |/
|/| |
Restore path attribute in execute resource with deprecation warning
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
execute resource. Even tough this attribute is not being honored by any
provider, some existing cookbooks are still depending on this attribute.
Restore path attribute in execute resource with a deprecation message
that it will be removed in Chef 13.
|
|/ |
|
| |
|
|\
| |
| | |
Lcg/script resource fixes
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
- Warning on incorrect usage of the command resource in any script
resource
- Warning on code in script resource being nil
- Specs added to force deprecation of incorrect usage in Chef-13
- Specs added around the (supported) incorrect usage in Chef-12
- Cleanup+Modernization of providers and specs
- Fixed some global state bugs around the Chef::Log.level in the spec
tests
|
| |
|
|\
| |
| | |
Fix issue where LWRP resources using `provides` fails
|
| | |
|
| | |
|
| | |
|
|/
|
|
| |
Note -- This test fails
|
| |
|
| |
|
|\
| |
| | |
Remove unused "agent".
|
| |
| |
| |
| |
| | |
This was probably an aborted attempt to integrate this project into Chef:
https://github.com/opscode/opscode-agent
|
|\ \
| |/
|/| |
fix searching upwards for knife plugins
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unreleased Chef 12.0.0 bug caught in testing where only the searching
upwards from PWD to find .chef in order to get the plugin path for knife
was busted. The chef_config_dir was being used before load_config was
being called, so it was nil, which broke finding knife plugins. This
was fixed by adding some lazy initialization of the config_loader object
itself and the chef_config_dir.
The reset_config_loader! is added entirely to reset the global state for unit
testing. This whole class is a bit horrible and needs to have all its
global state removed from it, class methods removed, class ivars and the
class-variable-in-a-class-method-for-inheritance-lolwut needs to be removed.
Unfortunately, that requires some delicate surgery because Chef::Knife
gets used as a public API, and is beyond the scope of gettting Chef 12
shipped.
|
|\
| |
| | |
A memorial for Ezra Zygmuntowicz
|
| |
| |
| |
| |
| |
| |
| |
| | |
Adding the --ez switch to Chef Solo, to memorialize Ezra. He was the
father of Chef Solo, and without his early advocacy and evangelism,
there would be no Chef today.
Rest in peace, Ez.
|
|\ \
| | |
| | | |
Make me a maintainer
|
| | | |
|