Created
April 23, 2009 01:07
-
-
Save contentfree/100208 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pool :apache_static_site do | |
cloud :web do | |
#keypair 'id_rsa' # Change this to the name of your keypair if it's not id_rsa | |
instances 1 | |
enable :haproxy # Also sets up Apache2 | |
has_file "/var/www/index.htm" do | |
content "<h1>Hello world!</h1>" | |
owner 'www-data' | |
mode 0644 | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment