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
pool :ap do | |
instances 1 | |
access_key "XXXXXX" | |
secret_access_key "XXXXXXX" | |
cloud :app_stack do | |
using :ec2 | |
security_group 'web' | |
availability_zone 'us-east-1a' | |
keypair 'keypair' |
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
/Users/bobby/.gem/ruby/1.8/gems/grempe-amazon-ec2-0.3.8/lib/EC2.rb:116:in `initialize': No :access_key_id provided (EC2::ArgumentError) |
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
master % cloud list | |
Listing cloud app_stack | |
Active instances | |
i-c5a605ac 75.101.139.210 | |
master % cloud-terminate | |
Shutting down i-c5a605ac | |
Are you sure? (Y/N) | |
Y | |
Shutting down i-c5a605ac | |
Are you sure? (Y/N) |
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
master % cloud list | |
Listing cloud app_stack | |
Active instances | |
i-c5a605ac 75.101.139.210 | |
master % cloud-terminate | |
Shutting down i-c5a605ac | |
Are you sure? (Y/N) | |
Y | |
Shutting down i-c5a605ac | |
Are you sure? (Y/N) |
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
master % cloud start -s clouds.rb | |
Your cloud is already running. | |
master % cloud list | |
Listing cloud app_stack | |
Active instances | |
i-c5a605ac 75.101.139.210 | |
master % cloud-terminate | |
Shutting down i-c5a605ac | |
Are you sure? (Y/N) |
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
[Mon, 01 Jun 2009 21:31:58 +0000] DEBUG: Ohai Attribute: uptime_seconds - 572 | |
[Mon, 01 Jun 2009 21:31:58 +0000] DEBUG: Ohai Attribute: platform - "ubuntu" | |
[Mon, 01 Jun 2009 21:31:58 +0000] DEBUG: Platform is ubuntu version 9.04 | |
[Mon, 01 Jun 2009 21:31:58 +0000] DEBUG: Compiling recipes for node domU-12-31-39-01-74-32_compute-1_internal | |
[Mon, 01 Jun 2009 21:31:58 +0000] DEBUG: Loading attributes from /etc/chef/cookbooks/poolparty/attributes/poolparty.rb | |
[Mon, 01 Jun 2009 21:31:58 +0000] DEBUG: Loading Recipe poolparty | |
[Mon, 01 Jun 2009 21:31:58 +0000] DEBUG: Found recipe default in cookbook poolparty | |
[Mon, 01 Jun 2009 21:31:58 +0000] DEBUG: Found recipe default in cookbook poolparty | |
[Mon, 01 Jun 2009 21:31:58 +0000] DEBUG: I am not loading poolparty, because I have already seen it. | |
[Mon, 01 Jun 2009 21:31:58 +0000] DEBUG: Converging node domU-12-31-39-01-74-32_compute-1_internal |
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
master % cloud start -d -s clouds.rb | |
[DEBUG] -- "Using spec at clouds.rb" | |
Starting cloud app_stack (gsg-keypair) | |
0 running instances (1 - 1) | |
[DEBUG] -- "app_stack launched instance checking for ip..." | |
.[DEBUG] -- "Found an ip" | |
[DEBUG] -- "app_stack Launched instance 75.101.139.210" | |
[DEBUG] -- " waiting for it to respond" | |
.[DEBUG] -- "" | |
Adding default gem dependencies |
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
[DEBUG] -- "Using spec at clouds.rb" | |
/Library/Ruby/Gems/1.8/gems/poolparty-1.2.8/bin/../lib/poolparty/plugins/chef/chef.rb:77:in `templates': undefined method `cp' for File:Class (NoMethodError) | |
from /Library/Ruby/Gems/1.8/gems/poolparty-1.2.8/bin/../lib/poolparty/plugins/chef/chef.rb:68:in `each' | |
from /Library/Ruby/Gems/1.8/gems/poolparty-1.2.8/bin/../lib/poolparty/plugins/chef/chef.rb:68:in `templates' | |
from clouds.rb:21:in `load_from_file' | |
from /Library/Ruby/Gems/1.8/gems/poolparty-1.2.8/bin/../lib/poolparty/poolparty/poolparty_base_class.rb:45:in `instance_eval' | |
from /Library/Ruby/Gems/1.8/gems/poolparty-1.2.8/bin/../lib/poolparty/poolparty/poolparty_base_class.rb:45:in `run_in_context' | |
from /Library/Ruby/Gems/1.8/gems/poolparty-1.2.8/bin/../lib/poolparty/poolparty/poolparty_base_class.rb:37:in `initialize' | |
from /Library/Ruby/Gems/1.8/gems/poolparty-1.2.8/bin/../lib/poolparty/poolparty/plugin.rb:25:in `initialize' | |
from (eval):6:in `new' |
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
-- Starting monitor_rack -- | |
>> Writing PID to /var/run/stats_monitor.pid | |
connecting to ssh with options = {:auth_methods=>"publickey", :paranoid=>false, :user=>"root", :timeout=>180, :keys=>["gsg-keypair"]} | |
[Mon, 01 Jun 2009 23:33:14 +0000] INFO: Starting Chef Solo Run | |
72.44.56.35 stderr => /etc/chef/cookbooks/main/recipes/default.rb:2:in `from_file'72.44.56.35 stderr => : 72.44.56.35 stderr => undefined method `[]=' for nil:NilClass72.44.56.35 stderr => (72.44.56.35 stderr => NoMethodError72.44.56.35 stderr => ) | |
72.44.56.35 stderr => from /usr/lib/ruby/gems/1.8/gems/chef-0.6.2/lib/chef/cookbook.rb:139:in `load_recipe' | |
72.44.56.35 stderr => from /usr/lib/ruby/gems/1.8/gems/chef-0.6.2/lib/chef/compile.rb:109:in `load_recipes' | |
72.44.56.35 stderr => from /usr/lib/ruby/gems/1.8/gems/chef-0.6.2/lib/chef/compile.rb:101:in `each' | |
72.44.56.35 stderr => from /usr/lib/ruby/gems/1.8/gems/chef-0.6.2/lib/chef/compile.rb:101:in `load_recipes' | |
72.44.56.35 stderr => from /usr/lib/ruby/gems/1.8/gems/chef-0.6.2/lib/chef/ |
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
node[:apache][:dir] = "/etc/apache2" | |
node[:apache][:dir] = "/etc/apache2" | |
node[:apache][:listen_ports] = ["80"] | |
node[:passenger][:version] = "2.2.2" | |
node[:rails][:version] = "2.3.2" | |
include_recipe "rails" | |
include_recipe "apache2::mod_rails" | |
include_recipe "sqlite" | |