have you looked at --local-mode ? . I am not up to date, but i can recall this being discussed on the mailing lists, so it might be already there.i can think of following:1) write a library that exposes a custom search method (say x_search) that uses chef api to do searching. include this in chef recipes. you have to drop additional client cert for the x_search library.2) use chef zero to upload the searchable data and then search against it. (this will be considerably slow, as you are spawning the chef zero server on demand). you have to sort out how to distribute the search data., you'll need a wrapper library here as well. ..but this will allow you to grab data, upload it in chef-zero and search against it.cheersranjibOn Mon, Jan 13, 2014 at 12:57 PM, Guy Matz < " target="_blank"> > wrote:
Hi! Anyone know of a way to get ch-solo to work when a chef cookbook does a earch on the server? Is it possible to have a chef-solo run use cookbooks locally, but run it's searches on the server? Is it possible to download the data as a json file and point search queries at that?Any thoughts/recommendations are appreciated!!Thanks a lot,Guy
Archive powered by MHonArc 2.6.16.