[chef] Re: Is search broken?


Chronological Thread 
  • From: Brian Smith < >
  • To:
  • Subject: [chef] Re: Is search broken?
  • Date: Wed, 26 Oct 2011 16:32:06 -0400

Does knife search node "chef_environment:dev01 and name:<somedev01node>" -c c:/chef/client.rb 
work?

On Wed, Oct 26, 2011 at 4:25 PM, Maven User < "> > wrote:
Hi all -

I'm now trying to do some knife work and when I do this:

C:\chef>knife node list -c c:/chef/client.rb -E dev01
<somedev01node>

(just one result - which is expected)

I get one thing, but when I run the search:

knife search node "chef_environment:dev01 and node_name:<somedev01node>" -c c:/chef/client.rb

I get back every node including things in the "_default" environment.

What am I doing wrong?




Archive powered by MHonArc 2.6.16.

§