Guest User

Untitled

a guest
Feb 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. # Basic poolparty template
  2. pool :cb do
  3.  
  4. instances 2..5
  5. port 80
  6. # Alestic's base ubuntu AMI
  7. ami "ami-1cd73375"
  8.  
  9. cloud :app do
  10.  
  11. has_directory "/var/www"
  12. has_git_repos "my static site" do
  13. source "git://github.com/auser/my_static_site.git"
  14. at "/var/www"
  15. end
  16. has_file "/etc/apache2/sites-enabled" do
  17. content '<VirtualHost *:80>
  18. ServerName "my_static_site.com"
  19. DocumentRoot "/var/www/my_static_site"
  20. </VirtualHost>
  21. '
  22. end
  23.  
  24. end
  25.  
  26. end
Add Comment
Please, Sign In to add comment