Data Bag search for Chef Solo

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:


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

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 E: adam@opscode.com

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:
GitHub - edelight/chef-solo-search: Data bag search for Chef Solo
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

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 adam@opscode.com 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 E: adam@opscode.com

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:
GitHub - edelight/chef-solo-search: Data bag search for Chef Solo
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.6**50.292.9660 x705 *| m: *
1.**919.244.9680 *| f: *1.**415.358.8435 *]

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: adam@opscode.com

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 <adam@opscode.com (mailto:adam@opscode.com)> 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: adam@opscode.com (mailto:adam@opscode.com)

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:
GitHub - edelight/chef-solo-search: Data bag search for Chef Solo
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 ]

@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 :wink:
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 adam@opscode.com:

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: adam@opscode.com

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 <adam@opscode.com (mailto:adam@opscode.com)> 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: adam@opscode.com (mailto:adam@opscode.com)

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:
GitHub - edelight/chef-solo-search: Data bag search for Chef Solo
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 ]

@John: Chef 0.10.4 added for the first time support for reading
data bags when using Chef Solo. If you add our cookbook on top of it
(just ensure it is present in the cookbook directory of the node), you
will get the power to search inside data bags.

2011/9/6 Miquel Torres tobami@googlemail.com:

@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 :wink:
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 adam@opscode.com:

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: adam@opscode.com

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 <adam@opscode.com (mailto:adam@opscode.com)> 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: adam@opscode.com (mailto:adam@opscode.com)

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:
GitHub - edelight/chef-solo-search: Data bag search for Chef Solo
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 ]