[chef] Search Doesn't Work in Attributes Files


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Search Doesn't Work in Attributes Files
  • Date: Fri, 21 Oct 2011 14:38:25 -0700 (PDT)

Hi, I am running Chef 0.10.4 and trying to use search to define default
attributes within an attribute file but it doesn't seem to be working. Even
running,

search(:node, "*:*") do |matching_node|
  puts matching_node.to_s
end

I am able to run this successfully within a recipe, but I was wondering is 
this
the desired functionality?



Archive powered by MHonArc 2.6.16.

§