| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
|
|
|
|
| |
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
|
|
|
|
| |
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
chef/tduffield/COOL-464/raise-error-if-install-fails
Raise error if ips_package install returns non-zero
|
| |
| |
| |
| | |
Signed-off-by: Tom Duffield <tom@chef.io>
|
|\ \
| | |
| | | |
Verify systemd_unit file with custom verifier
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mal Graty <mal.graty@googlemail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use custom verification class to work around file name requirements when
running systemd-analyze.
Signed-off-by: Mal Graty <mal.graty@googlemail.com>
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Core: Ensure paths are correctly escaped when syntax checking
|
| | |
| | |
| | |
| | |
| | |
| | | |
And add test that fails with original code
Signed-off-by: Thom May <thom@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Grzegorz Dudek <grzegorz.dudek@ceneo.pl>
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Convert the netmask into the CIDR block for the route-eth0 file.
Signed-off-by: Tom Duffield <tom@chef.io>
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Added URL support for cab_package
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* specs are added and code refactored
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* specs are added and code refactored
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* specs are added and code refactored
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* specs are added and code refactored
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* specs are added and code refactored
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* removed bundle/config
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* Fixed review comments
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* Fixed review comments on #cab_file_source
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* comments and context added for #cab_file_source
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
|
| | |
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Scott Christopherson <scott@chef.io>
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
make sure that if we have a metadata.rb that is not valid to read that
we never parse that and use compiled metadata.json instead.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
* Added module_version attribute for dsc_resource.
Signed-off-by: aliasgar16 <aliasgar.batterywala@msystechnologies.com>
|
| | |
|
|\ \
| | |
| | | |
Ensure ssh search paginates correctly
|
| | |
| | |
| | |
| | |
| | |
| | | |
Also use partial search for much small on-the-wire sizes
Signed-off-by: Thom May <thom@chef.io>
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
GetNamedSecurityInfoW & SetNamedSecurityInfoW returns error code (HR)
So pass the HR code to Win32::Error.raise! to avoid this weird message:
> ---- Begin Win32 API output ----
> System Error Code: 0
> System Error Message: The operation completed successfully.
> ---- End Win32 API output ----
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The `File` provider's `action_create` method would modify the `new_resource` object during a
`why-run`. This was problematic when a `File` resource was configured with a `notifies :before`
because resources with `before` timers have their actions executed twice. [Once](https://github.com/chef/chef/blob/a2e1d1d4edb74a968b416517fdbdf35740686467/lib/chef/runner.rb#L54-L57) in `why-run` mode to
see if the other resources need to be notified, and then executed [once again](https://github.com/chef/chef/blob/a2e1d1d4edb74a968b416517fdbdf35740686467/lib/chef/runner.rb#L68-L69) after the `before`
notifications are resolved. This behavior would result in existing File resources not getting their
ownership and permissions updated properly during a converge.
Signed-off-by: Scott Christopherson <scott@chef.io>
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Deprecate creating properties whose names are already methods
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When creating a resource, a user can create a property that is the same
name as an already-existing Ruby method, such as `#hash`. In the case of
the `#hash` method, this can cause issues when attempting to adding
resources to other data structures, such as Arrays or Hashes. In other
examples, this could cause unexpected behavior that is incredibly
difficult to troubleshoot.
This change adds a deprecation warning in the case where a user adds
a property to a resource that the resource instance already responds to.
If y'all are OK with this approach, I'll be happy to write up the
deprecation doc for this for docs.chef.io.
Signed-off-by: Adam Leff <adam@leff.co>
|
| | | |
|
|\ \ \
| | | |
| | | | |
pass true as 2nd args for Net::SSH.configuration_for by default.
|