| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|
|
|
|
|
| |
https://rubular.com/r/5JdtZDqWnZhB9J
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Force subclasses to use the `config` hash directly.
This should not affect any knife plugins shipping in chef-workstation
since the calls to config_value have already been removed from all of
those plugins. The multiple-argument version of config_value was not
actually used anywhere in those plugins and the single value version
was removed and replaced with accessing the config hash. Since that
was introduced sometime in 15.x when the bootstrap changes went in,
it is not expected that many external knife plugins have picked up
the usage of config_value.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\
| |
| | |
Fix for knife config use-profile doesn't validate that the profile exist
|
| |
| |
| |
| | |
Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
|
|\ \
| |/
|/| |
Add a umask property for resources.
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|/
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|\
| |
| | |
Cron and Cron_d resource weekday property fixes
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Removed unnecessary assignment for weekday_in_crontab.
Removed pry.
Removed converted to a string function from weekday validation.
Added unified_mode in cron and cron_d resources.
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
|
| |
| |
| |
| | |
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
|
| |
| |
| |
| |
| |
| |
| | |
Fixed provider cron spec failure.
Moved cron and cron resource into the lib/chef/resource/cron directory.
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
|
| |
| |
| |
| |
| |
| |
| | |
Fixed chefstyle spec failure.
Made changes as per review comment.
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Implemented same weekday functionality for cron_d resource.
Fixed rspec failure.
Added cron helper for weekday functionality
Added spec for cron helper.
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
|
|\ \
| | |
| | | |
Create windows_audit_policy resource
|
| | |
| | |
| | |
| | | |
Signed-off-by: Davin Taddeo <davin@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
WIN_AUDIT_SUBCATEGORIES constant
Signed-off-by: Davin Taddeo <davin@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
guess I'll ask for help or something ;)
Signed-off-by: Davin Taddeo <davin@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Davin Taddeo <davin@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Davin Taddeo <davin@chef.io>
|
| |\ \ |
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Davin Taddeo <davin@chef.io>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Davin Taddeo <davin@chef.io>
|
| | |_|/
| |/| |
| | | |
| | | | |
Signed-off-by: Davin Taddeo <davin@chef.io>
|
|\ \ \ \
| |_|_|/
|/| | | |
Fix how enforce_license is set in run method for chef-apply
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I recently discovered that when using
Chef::Application::Apply.new.run(enforce_license: false), chef-apply will still
run the license verification when I expected it to be disabled. It seems this
feature works if you install this as a gem, however if you build chef using
omnibus with this set, it refuses to work. I suspect this might be something
with appbundler.
I noticed that other binaries (i.e. solo) were using "run(enforce_license:
false)" instead of "run(enforce_license = false)" which chef-apply uses. If I
changed this to "run(enforce_license: false)", this worked as expected.
Signed-off-by: Lance Albertson <lance@osuosl.org>
|
|\ \ \ \
| | | | |
| | | | | |
Use .match? not =~ when match values aren't necessary
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
Autocorrected from RuboCop Performance which is now smart enough to detect when you use the match and when you don't. Using match? does not create any objects so it's slightly faster and uses less memory.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |/
|/|
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
We should highly encourage users to move to validatorless bootstrapping
1) It's more secure
2) It requires less admin work since there no validation key to pass
around or rotate
This also provides an improved message helping the user to move off the
old keys and fixes some bad formatting where the 2nd line was indented
about 40 columns.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| |
| |
| | |
chef/Snehal/Github-#333_knife_vault_on_windows_10_fails
knife vault on windows 10 fails due to ERROR: Chef::Exceptions::InvalidDataBagPath
|
| |
| |
| |
| | |
Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
|
| |
| |
| |
| | |
Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|\ \
| | |
| | | |
Update to the chef_client_scheduled_task resource frequency_modify default functionality
|
| | |
| | |
| | |
| | |
| | |
| | | |
Linux unit tests...
Signed-off-by: Davin Taddeo <davin@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Davin Taddeo <davin@chef.io>
|
|\ \ \
| | | |
| | | | |
Change script resources to use pipes rather than writing to temp files
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|