Skip to content

Instantly share code, notes, and snippets.

@auser
Forked from contentfree/apache_static_site.rb
Created April 23, 2009 04:43
Show Gist options
  • Save auser/100316 to your computer and use it in GitHub Desktop.
Save auser/100316 to your computer and use it in GitHub Desktop.
pool :apache_static_site do
cloud :web do
instances 1
enable :haproxy
using :vmrun do
vmx_hash({
"~/.vmware/one.vmwarevm/Ubuntu Linux 32bit.vmx" => "192.168.248.128"
})
end
has_file "/var/www/index.html" do
content "Hello world and ducks!"
owner 'www-data'
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment