Skip to content

Instantly share code, notes, and snippets.

@someara
Created October 12, 2015 19:51
Show Gist options
  • Save someara/ef5d381ff54535d3a353 to your computer and use it in GitHub Desktop.
Save someara/ef5d381ff54535d3a353 to your computer and use it in GitHub Desktop.
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