Skip to content

Instantly share code, notes, and snippets.

@jtimberman
Created December 3, 2008 09:28
Show Gist options
  • Save jtimberman/31487 to your computer and use it in GitHub Desktop.
Save jtimberman/31487 to your computer and use it in GitHub Desktop.
[Wed, 03 Dec 2008 03:13:34 -0700] INFO: Ran execute[chef-indexer-down] successfully
[Wed, 03 Dec 2008 03:13:35 -0700] INFO: Ran execute[chef-server-down] successfully
[Wed, 03 Dec 2008 03:13:35 -0700] INFO: Ran execute[stompserver-down] successfully
execute "#{params[:name]}-down" do
command "/etc/init.d/#{params[:name]} down"
only_if params[:only_if]
end
runit_service "chef-indexer" do
only_if false
end
runit_service "chef-server" do
only_if false
end
runit_service "stompserver"do
only_if false
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment