Skip to content

Instantly share code, notes, and snippets.

@paul
Created April 22, 2010 21:44
Show Gist options
  • Select an option

  • Save paul/375859 to your computer and use it in GitHub Desktop.

Select an option

Save paul/375859 to your computer and use it in GitHub Desktop.
% knife search node 'postgresql'
/home/rando/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/net/http.rb:2101:in `error!': 500 "Internal Server Error" (Net::HTTPFatalError)
from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/lib/chef/rest.rb:296:in `run_request'
from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/lib/chef/rest.rb:106:in `get_rest'
from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/lib/chef/search/query.rb:37:in `search'
from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/lib/chef/knife/search.rb:67:in `run'
from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/lib/chef/application/knife.rb:110:in `run'
from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/bin/knife:26
from /home/rando/.rvm/gems/ruby-1.8.7-p249/bin/knife:19:in `load'
from /home/rando/.rvm/gems/ruby-1.8.7-p249/bin/knife:19
% knife search node 'postgresql:*'
/home/rando/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/net/http.rb:2101:in `error!': 500 "Internal Server Error" (Net::HTTPFatalError)
from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/lib/chef/rest.rb:296:in `run_request'
from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/lib/chef/rest.rb:106:in `get_rest'
from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/lib/chef/search/query.rb:37:in `search'
from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/lib/chef/knife/search.rb:67:in `run'
from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/lib/chef/application/knife.rb:110:in `run'
from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/bin/knife:26
from /home/rando/.rvm/gems/ruby-1.8.7-p249/bin/knife:19:in `load'
from /home/rando/.rvm/gems/ruby-1.8.7-p249/bin/knife:19
% knife search node 'postgresql:[* TO *]'
# Works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment