Wrapper cookbook for the chef-client cookbook, which installs Chef-Client.
No platforms defined
- chef-client (= 4.3.3)
- chef_handler
- omnibus_updater (= 1.1.0)
- runit
node['omnibus_updater']['version']
- Version of chef-client to install. Defaults to12.21.3
.node['omnibus_updater']['cache_dir']
- Cache path for chef-client package. Defaults toFile.join(Chef::Config[:file_cache_path], 'chef-client')
.node['chef_client']['init_style']
- Do not run chef-client as service. Defaults tonone
.node['chef_client']['cron']['hour']
- Run chef-client every hour .. Defaults to*
.node['chef_client']['cron']['minute']
- ... at 0 and 30 minutes. Defaults to0,30
.node['chef_client']['cron']['log_file']
- Path to log file. Defaults to/var/log/chef/client.log
.node['chef_client']['cron']['append_log']
- Append to log file. Defaults totrue
.node['chef_client']['splay']
- Add a splay to prevent all nodes running chef-client at the same second. Defaults to600
.node['chef_client']['log_rotation']['postrotate']
- avoid the restart of the chef-client service that the upstream cookbook initiates (see issue chef-client#284). Defaults tonil
.node['chef_client']['config']['ssl_verify_mode']
- Verify the SSL certificate of the Chef Server. Defaults to:verify_peer
.node['chef_client']['config']['chef_server_url']
- URL of our Chef Server. Defaults tohttps://chef.typo3.org
.
- t3-chef-client::default
- t3-chef-client::knife-lastrun
Beware when updating the chef-client version in attributes/versions.rb
: When running this cookbook through the CI system with a different version, then the chef run will be killed after installing the target version.
Therefore, follow this procedure for updating the chef-client version:
- update the version number in chef-repo's
support_files/test-kitchen/config.yml
to test cookbooks locally against the new version - update the version number in the site-chefcitypo3org cookbook so that Chef-CI tests the cookbooks with the new version
- update the version number in t3-chef-client (which would finally deploy it on all nodes)
Maintainer:: TYPO3 Association (steffen.gebert@typo3.org)
License:: Apache 2.0