| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
* `deprecated_property_alias` allows the resource author to provide
transition from old properties to new ones with a deprecation
warning.
* The `deprecated` option on a property emits a deprecation warning.
* The `deprecated` method on a resource takes a message, but does not
yet emit a deprecation warning.
Signed-off-by: Thom May <thom@chef.io>
|
|
|
|
|
|
| |
This allows us to have windows_ad_* in the future
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
Rename the property to reboot to align with Chef naming. Allow delayed, immediate, or never for reboot actions. Using the actions from reboot was pretty confusing so I used notification names which seems to lineup nicely.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
Copied with permission from John Snow's win_ad cookbook. It's been reworked to not mess with dns servers and use powershell_out + sensitive. Some of those changes are getting pushed upstream, but the name is different and there's no expectation of compatibility here.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Add sysctl_param resource from the sysctl cookbook
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Copied from the cookbook with modifications made there
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
I guess they use .d directory structures in sudo, but that's about it.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Simple rename
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| | |
| | | |
rubocop fixes from engine bump to 0.54.0
|
| |/
| |
| |
| |
| |
| | |
some cops got a little stricter.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \
| |/
|/| |
Save the node's UUID as an attribute
|
| |
| |
| |
| |
| |
| |
| | |
We generate the UUID as part of the data collector report, but we didn't
make that available to the node or the chef server otherwise.
Signed-off-by: Thom May <thom@chef.io>
|
| |
| |
| |
| |
| |
| | |
This converts the Chef resources to shell_out and adds new properties for dealing with edge case installations. It also adds validation messaging / testing and lazy evals the stuff that uses the mixin.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Pull in resources from the dmg and homebrew cookbooks
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
We set a lot of nil defaults and did coersions here that are no longer necessary. Since we did accept nil in a lot of these properties at one point we need to keep it so I wrote a note to future me about that. I also added some specs for the remaining coersion and the defaults.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| | |
| | | |
Fail with a warning if users specify apt/yum/zypper repos with slashes
|
| | |
| | |
| | |
| | |
| | |
| | | |
We can't write out a filename like foo/bar.repo so we should properly warn the user if they try to give us that. There's probably other things, but this one makes particular sense for apt since people want to use the slash in PPA repo names.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This resolves issue #6836 which explains the issue in great detail.
TLDR: Packages that are installed as deps on another package have a
different string when you get info on them now. This updates the regex
to detect both. Based on the zypper changelog I believe this was
introduced in 1.13.17.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
meaning that we can have inheritable metadata
Signed-off-by: Thom May <thom@chef.io>
|
|\ \
| | |
| | | |
Fix regression in #6980, add functional tests
|
| |/
| |
| |
| |
| |
| |
| |
| | |
The logging refactor in #6980 should have been a class variable. This fixes that.
Also adds functional tests that would catch that and the original #6980 bug.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
|/
|
|
|
|
| |
We actually set the defaults for these in the subversion property, but the actual properties are in scm. Move them to subversion since they are subversion specific.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Add the sudo resource from the sudo resource
|
| |
| |
| |
| |
| |
| | |
Copied as is with the new description fields added.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| |
| |
| |
| | |
we support locking based on provides lines, and now test that and
ensure that locking checks go through name resolution properly.
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>
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|/
|
|
|
|
| |
squash and rebase of all the work
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\
| |
| | |
update mount to use properties and fix 6851
|
| |
| |
| |
| | |
Signed-off-by: Thom May <thom@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Thom May <thom@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Thom May <thom@chef.io>
|
|/
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
chef server API"
|
|\
| |
| | |
Add output_locations functionality to data collector
|
| |
| |
| |
| | |
Signed-off-by: Jon Cowie <jonlives@gmail.com>
|
| |
| |
| |
| |
| |
| | |
This commit implements the recent changes to RFC-077, to support multiple output locations in the data collector.
Signed-off-by: Jon Cowie <jonlives@gmail.com>
|
|\ \
| | |
| | | |
Bump to ruby 2.5.0
|
| | |
| | |
| | |
| | | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \ \
| | | |
| | | | |
Knife should give a useful error when the chef_server_url isn't a chef server API
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
Signed-off-by: Jose Asuncion <jeunito@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Jose Asuncion <jeunito@gmail.com>
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Jose Asuncion <jeunito@gmail.com>
|