[chef] Re: Re: download entire databag?


Chronological Thread 
  • From: Jesse Campbell < >
  • To: chef < >
  • Subject: [chef] Re: Re: download entire databag?
  • Date: Tue, 12 Mar 2013 18:41:21 -0400

Hmm. This could work. Back in the once upon a time that failed because there was one big data bag item instead of 3500 tiny ones, and no matter how the config was changed, solr refused to index it.

I'd prefer a direct call instead of a search, but this could work.

Could even use partial search when a node needs one attribute from each of 1800 of those. Hmm :)

On Mar 12, 2013 6:36 PM, "Brian Akins" < "> > wrote:
You can use search. search(:mydatabag, "*:*")

http://docs.opscode.com/essentials_data_bags_use_search.html



Archive powered by MHonArc 2.6.16.

§