[chef] Re: Re: Search not working with knife


Chronological Thread 
  • From: Morgan Blackthorne < >
  • To: " " < >
  • Subject: [chef] Re: Re: Search not working with knife
  • Date: Thu, 30 May 2013 11:35:20 -0700

If you want to search for all nodes, you can do "knife search node '*:*'".

--
~*~ StormeRider ~*~

"Every world needs its heroes [...] They inspire us to be better than we are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSS


On Thu, May 30, 2013 at 11:33 AM, Daniel Condomitti < " target="_blank"> > wrote:
A blank query isn't valid, you need to search for 'fqdn:mongo1' or 'name:mongo1'

Dan

On Thursday, May 30, 2013 at 11:32 AM, Liam Kirsher wrote:

Search is not working with knife.
However, it does work from the OpsCode management console.

:~/Documents/Development/chef-repo$ knife node show mongo1
Node Name:   mongo1
Environment: _default
FQDN:        
IP:          
Run List:    recipe[bti_mongo]
Roles:       
Recipes:     
Platform:     
Tags:      
 
:~/Documents/Development/chef-repo$ knife search node 'mongo1'
0 items found


:~/Documents/Development/chef-repo$ knife search node ''
0 items found


Any idea why that doesn't find the node?

Liam
--  
Liam Kirsher
PGP: http://liam.numenet.com/pgp/





Archive powered by MHonArc 2.6.16.

§