Skip to content

Instantly share code, notes, and snippets.

@kirschbaum
Created April 22, 2013 18:05
Show Gist options
  • Save kirschbaum/5437156 to your computer and use it in GitHub Desktop.
Save kirschbaum/5437156 to your computer and use it in GitHub Desktop.
include_recipe "apt"
include_recipe "openssl"
include_recipe "apache2"
include_recipe "apache2::mod_php5"
include_recipe "apache2::mod_rewrite"
include_recipe "apache2::mod_deflate"
include_recipe "apache2::mod_headers"
include_recipe 'php'
include_recipe "php::module_apc"
include_recipe "php::module_memcache"
include_recipe "php::module_curl"
include_recipe "php::module_gd"
include_recipe "php::module_mysql"
include_recipe 'mysql::server'
include_recipe 'git'
# include_recipe 'drush'
execute "disable-default-site" do
command "sudo a2dissite default"
notifies :reload, resources(:service => "apache2"), :delayed
end
web_app "project" do
template "project.conf.erb"
notifies :reload, resources(:service => "apache2"), :delayed
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment