Skip to content

Instantly share code, notes, and snippets.

@hjkp
Created November 20, 2008 21:13
Show Gist options
  • Save hjkp/27200 to your computer and use it in GitHub Desktop.
Save hjkp/27200 to your computer and use it in GitHub Desktop.
service "apache2" do
name value_for_platform(
[ "CentOS", "RedHat", "Fedora", "SuSE" ] => { "default" => "httpd" },
[ "Debian", "Ubuntu" ] => { "default" => "apache2" }
)
supports :restart => true
action :enable
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment