lp:~harlowja/cloud-init/better-chef-module
- Get this branch:
- bzr branch lp:~harlowja/cloud-init/better-chef-module
Branch merges
- cloud-init Commiters: Pending requested
-
Diff: 562 lines (+414/-67)4 files modifiedcloudinit/config/cc_chef.py (+247/-58)
cloudinit/util.py (+4/-0)
templates/chef_client.rb.tmpl (+42/-9)
tests/unittests/test_handler/test_handler_chef.py (+121/-0)
Branch information
Recent revisions
- 1043. By Joshua Harlow
-
Add a post-run method that can be used to delete validation.pem files
For those who run chef in non-daemon mode, they would like to delete
the validation.pem file if chef finishes as expected to remove that file
from existing in an easy to read manner. - 1042. By Joshua Harlow
-
Retain the old behavior for mandatory keys
The keys 'server_url' and 'validation_name' were
previously mandatory, we should retain that behavior
for now. - 1040. By Joshua Harlow
-
Allow running even if installed
Standardize on using the chef_cfg key 'exec' which can be used
when installing to tell the caller to run the chef client or can
also be used if the client is already installed and its requested
to be ran.To retain existing behavior 'exec' does not by default assume to
be true, unless explicitly provided or a gems mode install is
requested. - 1037. By Joshua Harlow
-
Ensure that any template paths have associated directories
When the template provides a path, make sure that before the
template is written that the path that is now in the template
has the associated directory created (if not already created).
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~cloud-init-dev/cloud-init/trunk