Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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
Add Comment
Please, Sign In to add comment