Created
November 14, 2008 21:17
-
-
Save auser/25099 to your computer and use it in GitHub Desktop.
This file contains 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
# Basic poolparty template | |
pool :cb do | |
instances 2..5 | |
port 80 | |
# Alestic's base ubuntu AMI | |
ami "ami-1cd73375" | |
cloud :app do | |
has_directory "/var/www" | |
has_git_repos "my static site" do | |
source "git://github.com/auser/my_static_site.git" | |
at "/var/www" | |
end | |
has_file "/etc/apache2/sites-enabled" do | |
content '<VirtualHost *:80> | |
ServerName "my_static_site.com" | |
DocumentRoot "/var/www/my_static_site" | |
</VirtualHost> | |
' | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment