[chef] Re: Re: Re: Re: Data Bag search for Chef Solo


Chronological Thread 
  • From: Miquel Torres < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Data Bag search for Chef Solo
  • Date: Tue, 6 Sep 2011 21:24:53 +0200

@Adam:
Implementing search(:node, "XX") and making it able to search at least
in the current node didn't occur to us... because we have another
trick up our sleeve ;-)
Let's say that we have used another way to make Chef Solo be able to
search nodes, and not only the current one. But that is another story
for another day, soon.

That said, how would you go about implementing search for the local node?

Regards,
Miquel


2011/9/6 Adam Jacob 
< >:
> It's in the cookbook he linked to, so if you are running Chef 10.4, it 
> should work. (There was no data bag support in solo prior to 10.4)
>
> Best,
> Adam
>
> --
> Opscode, Inc.
> Adam Jacob, Chief Product Officer
> T: (206) 619-7151 E: 
> 
>
>
> On Tuesday, September 6, 2011 at 9:19 AM, John Willis wrote:
>
>> was a little confused.. Is this supported in Chef or does it just need 
>> 10.4 support? Either way awesome stuff...
>>
>> On Tue, Sep 6, 2011 at 12:17 PM, Adam Jacob 
>> <
>>  
>> (mailto: )>
>>  wrote:
>> > Miquel, that is awesome! Do you have plans to extend it to things like 
>> > node (ie: search just the local node object)? If you did, I think you 
>> > would cover the bulk of the use cases that are in use.
>> >
>> >  Best,
>> >  Adam
>> >
>> >  --
>> >  Opscode, Inc.
>> >  Adam Jacob, Chief Product Officer
>> >  T: (206) 619-7151 (tel:%28206%29%20619-7151) E: 
>> > 
>> >  
>> > (mailto: )
>> >
>> >
>> >  On Tuesday, September 6, 2011 at 8:07 AM, Miquel Torres wrote:
>> >
>> > > Ohai!
>> > >
>> > > the next piece of code we are announcing today is data bag search
>> > > support for Chef Solo, also implemented by Markus Korn at edelight:
>> > > https://github.com/edelight/chef-solo-search
>> > > At the moment, it is in form of a cookbook that adds parser and search
>> > > libraries, but it could eventually be integrated into Chef Solo
>> > > itself. As data bag support for Chef Solo was only recently added, it
>> > > will only work with Chef 0.10.4+
>> > >
>> > > All the examples of search described in the Chef search wiki page
>> > > should work: 
>> > > http://wiki.opscode.com/display/chef/Search#Search-UsingSearchinRecipes
>> > >
>> > > Cheers,
>> > > Miquel
>>
>>
>>
>> --
>> John Willis
>> [ DTO Solutions, Inc. (http://www.dtosolutions.com/) | 1840 Gateway Drive 
>> - Suite #200, San Mateo CA 94404 | o: 1.650.292.9660 x705 | m: 
>> 1.919.244.9680 | f: 1.415.358.8435 ]
>
>
>



Archive powered by MHonArc 2.6.16.

§