Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
package 'foo' fo
action :install
end
template '/etc/foo' do
notifies :restart, 'service[foo]'
end
# this will be started, then restarted on the first chef-client run
service 'foo' do
action :start
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment