Created
March 18, 2011 15:13
-
-
Save valyagolev/876234 to your computer and use it in GitHub Desktop.
This file contains 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
__________________ | |
/media/oldroot/home/valentin/Work/buzzoola/buzzoola/chef-repo | |
[.../chef-repo]$ knife role list | |
[ | |
"database", | |
"frontend", | |
"worker" | |
] | |
__________________ | |
/media/oldroot/home/valentin/Work/buzzoola/buzzoola/chef-repo | |
[.../chef-repo]$ knife role show "worker" | |
{ | |
"name": "worker", | |
"default_attributes": { | |
}, | |
"json_class": "Chef::Role", | |
"run_list": [ | |
"recipe[buzzoola::worker]" | |
], | |
"description": "", | |
"chef_type": "role", | |
"override_attributes": { | |
} | |
} | |
__________________ | |
/media/oldroot/home/valentin/Work/buzzoola/buzzoola/chef-repo | |
[.../chef-repo]$ knife node list | |
[ | |
"anothercoolnodename-head-vagrant", | |
"blahblahololo-head-vagrant", | |
"brick-head-vagrant", | |
"coolhostname-head-vagrant", | |
"coolnodename-head-vagrant", | |
"i-19bac575", | |
"i-1db0cf71", | |
"i-1f463973", | |
"i-226c9f4d", | |
"i-23367a4f", | |
"i-23b6fa4f", | |
"i-27cc804b", | |
"i-31740b5d", | |
"i-3de6aa51", | |
"i-45b5ca29", | |
"i-63552a0f", | |
"i-63b8c70f", | |
"i-65413e09", | |
"i-6bb3cc07", | |
"i-75bcf019", | |
"i-773b181b", | |
"i-995519f5", | |
"i-9bcb87f7", | |
"i-9d98e7f1", | |
"i-ee50a381", | |
"kirovsnode-head-vagrant", | |
"ml-desktop-head-vagrant", | |
"mycoolhostname-head-vagrant", | |
"newnodename-head-vagrant", | |
"nicehostname-head-vagrant", | |
"nodenamegoeshere-head-vagrant", | |
"ololoyeah-head-vagrant", | |
"vagrantup.com", | |
"valentin-mint\n-head-vagrant", | |
"valyavag-head-vagrant", | |
"valyavag2-head-vagrant", | |
"valyavag2_test1-head-vagrant", | |
"valyavag2_test2-head-vagrant", | |
"valyavagg-head-vagrant", | |
"valyavagranto-head-vagrant" | |
] | |
__________________ | |
/media/oldroot/home/valentin/Work/buzzoola/buzzoola/chef-repo | |
[.../chef-repo]$ knife node show "i-ee50a381" | |
/usr/lib/ruby/1.8/chef/node.rb:329:in `json_create': undefined method `each' for nil:NilClass (NoMethodError) | |
from /usr/lib/ruby/1.8/json/common.rb:122:in `parse' | |
from /usr/lib/ruby/1.8/json/common.rb:122:in `parse' | |
from /usr/lib/ruby/1.8/chef/rest.rb:202:in `api_request' | |
from /usr/lib/ruby/1.8/chef/rest.rb:267:in `retriable_rest_request' | |
from /usr/lib/ruby/1.8/chef/rest.rb:197:in `api_request' | |
from /usr/lib/ruby/1.8/chef/rest.rb:100:in `get_rest' | |
from /usr/lib/ruby/1.8/chef/node.rb:380:in `load' | |
from /usr/lib/ruby/1.8/chef/knife/node_show.rb:40:in `run' | |
from /usr/lib/ruby/1.8/chef/application/knife.rb:116:in `run' | |
from /usr/bin/knife:24 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment