| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this restores the order that the magic wiring of LWRP / custom resources
to the cookbook_name + resource filename comes after the parsing of the
file that it is defined in.
i had moved this because i was running into issues with recursive calls
between provides and the resource_name method, which i later solved.
this restores the prior behavior, but calls provides instead of
resource_name, but relies on the implicit call to resource_name from
the first provides to be functionally identical to the prior behavior
anyway.
no idea if this actually fixes any bugs, but it was not really
intentional to change it. stuff like chef_version_for_provides
needs to be called before calling provides, so it seems like the
behavior this fixes should have been buggy with respect to that
but it is obviously... complicated.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Improve chef_client_* resources
|
|/
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Add a `knife yaml convert` tool
|
| |
| |
| |
| |
| |
| |
| | |
Refactor and direct output to a file with some magic to make up a good
output filename.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Very basic interface, reads in a YAML recipe, ruby recipe goes to stdout.
```
---
resources:
- type: "bash"
name: "new chef user"
code: "
touch /tmp/jmc/something ;
echo something >> /tmp/jmc/something ;
rm -f /tmp/jmc/bash ;
"
something:
- other: "dont use this"
```
gets converted to:
```
bash "new chef user" do
code " touch /tmp/jmc/something ; echo something >> /tmp/jmc/something ; rm -f /tmp/jmc/bash ; "
end
```
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
|\
| |
| | |
Modify pre-command hook to only run in verify pipeline
|
| |
| |
| |
| | |
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| |/
|/| |
Add missing introduced value to the new property in rhsm_register
|
|/
|
|
|
|
| |
I realized we needed this right after the merge
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
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>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
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>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
jasonwbarnett/feature/add-use_https-to-rhsm_register
Add : https_for_ca_consumer property to rhsm_register resource
|
|/ /
| |
| |
| | |
Signed-off-by: Jason Barnett <jason.w.barnett@gmail.com>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
clean up chef_client_cron
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- add instance methods to the module so it can be mixed in
- extend the module into the resource class
- use explicit methods for "currying" arguments to avoid the cognitive
overhead of the lambda syntax and allow using method()
- use method() to keep the callbacks readable
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|/
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Add chef_client_cron resource from chef-client cookbook
|
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| | |
There's no reason to try to handle this (incorrectly) here.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
This is a bit odd and I could go either way with this. Should chef_client_cron setup cinc when on a cinc system?
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
|
|
|
| |
Add the chef_client_cron resource so users can manage chef-client as a
cron job out of the box.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Move cron_d validation methods to a helper and use that in the cron resource
|
| |
| |
| |
| |
| |
| | |
Stop abusing the mixin name and stop using the mixin like the kitchen drawer of junk it's becoming.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Why not
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
This is really unit test land
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
Co-Authored-By: pete higgins <pete@peterhiggins.org>
|