| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\
| |
| | |
windows_firewall_rule: Fix idempotency and add icmp_type property
|
| |\ |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Patrick Schaumburg <pschaumburg@tecracer.de>
|
| |\ \ |
|
| | | |
| | | |
| | | | |
Signed-off-by: Patrick Schaumburg <pschaumburg@tecracer.de>
|
| | | |
| | | |
| | | | |
Signed-off-by: Patrick Schaumburg <pschaumburg@tecracer.de>
|
| | | |
| | | |
| | | | |
Signed-off-by: Patrick Schaumburg <pschaumburg@tecracer.de>
|
| | | |
| | | |
| | | | |
Signed-off-by: Patrick Schaumburg <pschaumburg@tecracer.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Patrick Schaumburg <pschaumburg@tecracer.de>
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This implements RFC-40 from the old chef rfc repo:
https://github.com/chef-boneyard/chef-rfc/blob/master/rfc040-on-demand-cookbook-libraries.md
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If no other property is an identity property then the name_property is
the default identity property. The name_property is also marked as not
being desired state by default (the 'name' should never change).
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
name_property implies identity if there is no other identity property
this has been the behavior for a very long time, dunno why #4282 was
never closed.
closes #4282
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \ \
| |_|/
|/| | |
Add after_resource to pair with current_resource
|
| | |
| | |
| | |
| | | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For custom resources which correctly implement load_current_value the
new after_resource comes for "free" and load_current_value will be
called twice to load the current_resource (should be renamed the
"before_resource" but that ship sailed) and then the after_resource.
Appropriate wiring is added for a new event and capturing that into
the action_collection and then the data_collector. The resource_reporter
has not and will not be updated.
For old style resources which are difficult to convert to custom
resources (thinking here particularly of the 1:N model of the service
resource in core chef, or stuff that just may be a lot of work like the
file resource) then they can override the load_after_resource to
manually wire up their own after_resource.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Windows 10 1909 is a service pack, but without being called a service pack.
1909 is a very small update over 1903, and in fact most of the binaries are not rebuilt.
The version for 1909 is 10.0.18363, but the version in many files is still 10.0.18362, which was the version for 1903.
This caused this functional test to fail on 1909 because 10.0.18362 != 10.0.18363. Nowhere else are we concerned with the file versions matching the OS version, so the fix is to match less of the version. By matching only '10.0', we should not see this again.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Also add a pile of specs
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Use the data files from the macos cookbook
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
I'm looking at you Ubuntu 20.04
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| | |
| | | |
Fix unintuitive behavior of sources on gem 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>
|
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
MsysTechnologiesllc/sangmeshA/Fix_windows_share_cannot_modify_frozen_String
Fixed windows share cannot modify frozen string bug
|
| | |
| | |
| | |
| | | |
Signed-off-by: sanga17 <sausekar@msystechnologies.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: sanga17 <sausekar@msystechnologies.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Add new accept_chef_license property
- Wire up config_directory property in chef_client_cron to match the chef_client_scheduled_task behavior
- Add run_on_battery property to chef_client_scheduled_task
- Move logic into helpers in chef_client_schedule_task
- Add more testing to chef_client_scheduled_task
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \
| | | |
| | | | |
Switch to RUBY_PLATFORM for the windows check
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Merging in this check broke the build tests on Windows hosts.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \ \
| | | | |
| | | | | |
Add chef_client_windows_task resource from chef-client cookbook
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Allow setting up chef-client to run as a scheduled task out of the box.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Jason Barnett <jason.w.barnett@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
This is from a convo in slack where it was determined that we can safely append due to log rotation that occurs in mixlib-log
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add some tests for this and fix the naming of other tests
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
The previous method was resulting in wildly out of range times.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \
| |_|/
|/| | |
Move cron_d validation methods to a helper and use that in the cron resource
|