Skip to content

Instantly share code, notes, and snippets.

@initcron
Created March 19, 2014 03:51
Show Gist options
  • Save initcron/9635156 to your computer and use it in GitHub Desktop.
Save initcron/9635156 to your computer and use it in GitHub Desktop.
apache default.rb on ubuntu
package "apache2" do
action :install
end
service "apache2" do
action [ :enable, :start]
end
cookbook_file "/var/www/index.html" do
source "index.html"
mode "0644"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment