Created
April 24, 2013 23:13
-
-
Save crowdmatt/5456365 to your computer and use it in GitHub Desktop.
Revisions
-
crowdmatt created this gist
Apr 24, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,41 @@ ---- Begin output of echo 'sinatra restart' && sleep 0 && ../shared/scripts/unicorn clean-restart ---- STDOUT: STDERR: /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/node/attribute.rb:374:in `auto_vivifiy': You tried to set a nested key, where the parent is not a hash-like object: deploy/[MYAPP]/environment/RAILS_ENV/RAILS_ENV (ArgumentError) from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/node/attribute.rb:280:in `get_value' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/node/attribute.rb:269:in `upto' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/node/attribute.rb:269:in `get_value' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/node/attribute.rb:134:in `each' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/node/attribute.rb:129:in `each' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/mixin/command/unix.rb:89:in `popen4' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/mixin/command/unix.rb:64:in `fork' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/mixin/command/unix.rb:64:in `popen4' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/mixin/command.rb:160:in `output_of_command' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/mixin/command.rb:149:in `chdir' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/mixin/command.rb:149:in `output_of_command' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/mixin/command.rb:128:in `run_command' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/provider/deploy.rb:168:in `restart' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/provider/deploy.rb:113:in `deploy' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/provider/deploy.rb:70:in `action_deploy' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/resource.rb:406:in `send' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/resource.rb:406:in `run_action' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/runner.rb:53:in `run_action' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/runner.rb:89:in `converge' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/runner.rb:89:in `each' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/runner.rb:89:in `converge' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/runner.rb:84:in `converge' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/client.rb:268:in `converge' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/client.rb:158:in `run' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/application/solo.rb:190:in `run_application' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/application/solo.rb:181:in `loop' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/application/solo.rb:181:in `run_application' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/../lib/chef/application.rb:62:in `run' from /opt/aws/opsworks/releases/20130418090734_113/vendor/bundle/ruby/1.8/gems/chef-0.9.15.5/bin/chef-solo:25 from /opt/aws/opsworks/current/bin/chef-solo:16:in `load' from /opt/aws/opsworks/current/bin/chef-solo:16 ---- End output of echo 'sinatra restart' && sleep 0 && ../shared/scripts/unicorn clean-restart ----