| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
yet another lesson that doing too much in the initializer is
poor coding practice.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Mark Harrison <mark@mivok.net>
|
|
|
|
|
|
| |
department of redundancy department
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
|
| |
- cleans up a lot of ivar usage
- converts most providers to shell_out_compact_timeout!
- almost deprecates a few APIs, but can't quite yet
- windows providers need mixlib-shellout to take an argv
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\
| |
| | |
Add mutlipackage_api support to yum_package provider
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
An initial refactor to add multipackage_api support to the yum_package
provider. There probably needs to be an additional refactor to make
this provider look a little bit more like the DNF provider, but this
should buy us some time and address some bugs.
Signed-off-by: Tom Duffield <tom@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tom Duffield <tom@chef.io>
|
|/
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Tom Duffield <tom@chef.io>
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
* Added module_version attribute for dsc_resource.
Signed-off-by: aliasgar16 <aliasgar.batterywala@msystechnologies.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\ \
| | |
| | | |
Correct SFTP remote_file tests
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Incorrectly tested 'ftp' scheme.
Fixes: #4750
Obvious fix.
Signed-off-by: Adam Ward <adamw@subdesigns.net>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
juliandunn/aix_candidate_version_blindly_checks_source
Don't blindly check source on candidate_version calls.
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Julian C. Dunn <jdunn@chef.io>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: nimisha <nimisha.sharad@clogeny.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
i didn't fully grok the way the dscl providers were written and
only half fixed the group dscl provider, but later did a better
job fixing the user one.
fixes the breakage caught in the dscl group func tests.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* run_command elimination
* shell_out array usage
* other misc cleanup
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* removes more run_command
* converts to shell_out_compact
* some other misc style cleanup
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- consistent use of shell_out_compact!
- remove more uses of run_command
- some other code cleanup
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |_|/
|/| |
| | |
| | | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \ \
| | | |
| | | | |
Chefstyle updates
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \ \ \
| | | | |
| | | | | |
Unset http[s]_proxy in the subversion spec
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
So it doesn't alter generated subversion commands.
Signed-off-by: Stefano Rivera <stefanor@debian.org>
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
change choco -version to choco --version
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Chocolatey packages with version will give error
changes chocolatey tests to use --version instead of -version
Signed-off-by: Spencer Owen <owenspencer@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
manage_home: true is not a proper resource property. It should be manage_home true instead.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \ \
| | | | |
| | | | | |
linux mount provider - skip device detection for zfs
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Tomasz Rudzki (ttr) <ttr@ttrsite.net>
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allows the usage of `action :unmount` to `umount` a mount point
Closes https://github.com/chef/chef/issues/5595
Signed-off-by: Grant Ridder <shortdudey123@gmail.com>
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Hardcoded expand.exe path to avoid hitting gnu expand
Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
|
|\ \ \
| | | |
| | | | |
Core: Structure deprecations with additional metadata
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This adds URLs to each class of deprecation, and correctly prints and
formats them for maximum user efficiency. We also provide the URL to the
data collector for Visibility to ingest.
Signed-off-by: Thom May <thom@chef.io>
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
|
|/ /
| |
| |
| |
| |
| | |
these all seem like useless uses of semicolons.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \
| |/
|/|
| |
| | |
MsysTechnologiesllc/dh/adding_powershell_package_manager_support
Adding support for Powershell package manager to Chef package provider
|