Skip to content

Instantly share code, notes, and snippets.

@johnfitzpatrick
Last active August 29, 2015 14:22
Show Gist options
  • Save johnfitzpatrick/db9068d35b37567b6da7 to your computer and use it in GitHub Desktop.
Save johnfitzpatrick/db9068d35b37567b6da7 to your computer and use it in GitHub Desktop.
name 'chef-client'
maintainer 'Chef Software, Inc.'
maintainer_email '[email protected]'
license 'Apache 2.0'
description 'Manages client.rb configuration and chef-client service'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '4.3.1'
recipe 'chef-client', 'Includes the service recipe by default.'
recipe 'chef-client::bluepill_service', 'Configures chef-client as a service under Bluepill'
recipe 'chef-client::bsd_service', 'Configures chef-client as a service on *BSD'
recipe 'chef-client::config', 'Configures the client.rb from a template.'
recipe 'chef-client::cron', 'Runs chef-client as a cron job rather than as a service'
recipe 'chef-client::daemontools_service', 'Configures chef-client as a service under Daemontools'
recipe 'chef-client::delete_validation', 'Deletes validation.pem after client registers'
recipe 'chef-client::init_service', 'Configures chef-client as a SysVInit service'
recipe 'chef-client::launchd_service', 'Configures chef-client as a launchd service on OS X'
recipe 'chef-client::runit_service', 'Configures chef-client as a service under Runit'
recipe 'chef-client::service', 'Sets up a client daemon to run periodically'
recipe 'chef-client::smf_service', 'Configures chef-client as a service under SMF'
recipe 'chef-client::src_service', 'Configures chef-client as a Service Resource Controller service on AIX'
recipe 'chef-client::task', 'Runs chef-client as a Windows task.'
recipe 'chef-client::upstart_service', 'Configures chef-client as a service under Upstart'
recipe 'chef-client::windows_service', 'Configures chef-client as a service on Windows'
%w{ ubuntu debian redhat centos fedora oracle suse freebsd openbsd mac_os_x mac_os_x_server windows aix }.each do |os|
supports os
end
# Each of these suggested cookbooks are dependencies when using the
# respective $SERVICE_MANAGER_service recipe.
# Foodcritic comments are included in each recipe to ignore
# FC007: Ensure recipe dependencies are reflected in cookbook metadata
suggests 'bluepill'
suggests 'daemontools'
suggests 'runit'
depends 'cron', '>= 1.2.0'
depends 'logrotate', '>= 1.2.0'
depends 'windows', '~> 1.37'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment