Created
September 22, 2011 19:06
-
-
Save glennpratt/1235704 to your computer and use it in GitHub Desktop.
document running Chef builds
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
| # Use this file to store the commands used to bring up running sites. | |
| # rake create_site:dev | |
| namespace :create_site do | |
| desc "Upload a single databag" | |
| task :dev do | |
| system "knife ec2 server create \ | |
| -G default \ | |
| -I ami-7000f019 \ | |
| -f m1.small \ | |
| -S php-quick-start \ | |
| -i ~/.ssh/php-quick-start.pem \ | |
| -x ubuntu \ | |
| -r 'role[base],role[drupal_database_master],role[drupal],role[varnish_load_balancer],role[nginx_ssl_proxy]' | |
| " | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment