Skip to content

Instantly share code, notes, and snippets.

@adamhjk
Created April 14, 2009 01:56
Show Gist options
  • Save adamhjk/94894 to your computer and use it in GitHub Desktop.
Save adamhjk/94894 to your computer and use it in GitHub Desktop.
## Apache recipe
service "apache" do
action :enable
end
# Haproxy recipe
include_recipe "apache"
package "haproxy" do
action :install
notify :stop, resources(:service => "apache"), :immediately
notify :start, resources(:service => "apache")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment