Skip to content

Instantly share code, notes, and snippets.

@auser
Created November 14, 2008 21:17
Show Gist options
  • Save auser/25099 to your computer and use it in GitHub Desktop.
Save auser/25099 to your computer and use it in GitHub Desktop.
# 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