-
Notifications
You must be signed in to change notification settings - Fork 213
data_bag search support doesn't work with chef 11.x #216
Comments
Yeah, I just two days ago saw this: edelight/chef-solo-search#18 |
Does the new cookbook work? If so we should probably pull that in. |
I have not tried it at all, just saw the issue. That cookbook does not seem to have versioning or make releases, so we just have to trust that master is stable. And test it ourselves of course. =) |
I have been meaning to write an integration test on search ;) -Mat about.me/matschaffer On Fri, Mar 1, 2013 at 9:03 AM, Teemu Matilainen
|
I tried the chef-solo-search cookbook with no luck. Maybe it is not designed to work with chef 11.x or it doesn't get along with knife solo... |
Did you try the latest cookbook? Also if you have a test cookbook that I could use send it along and I'll Thanks! -Mat about.me/matschaffer On Mon, Mar 4, 2013 at 1:05 AM, runningman84 notifications@github.comwrote:
|
@matschaffer @runningman84 I've had success with the latest chef-solo-search cookbook. |
Sweet. Do you need this soon? If so we can do a patch release for it. Are -Mat On Mar 4, 2013, at 9:53, Jeff Wallace notifications@github.com wrote: @matschaffer https://github.com/matschaffer — |
@matschaffer I'm using |
Oh sweet. I'm glad to know that works. I worried that our injection of the -Mat On Mar 4, 2013, at 17:23, Jeff Wallace notifications@github.com wrote: @matschaffer https://github.com/matschaffer I'm using 0.2.0. No rush on — |
Hmm a new release would be great. All new servers who get prepared via knife prepare cannot be cooked anymore cause all of my cookboos do some databag search. How exactly can I use the chef-solo-search cookbook with knife-solo? Just storing the whole cookbook next to my other cookbooks didn't help. |
@runningman84 I forgot to mention in my previous comment that you have to add |
knife solo databag search doesn't work with chef 11.x
2013-02-26T08:34:08+01:00] WARN: Failed to read the private key /etc/chef/client.pem: #<Errno::ENOENT: No such file or directory - /etc/chef/client.pem>
Recipe Compile Error in /DBA/chef/chef-solo/cookbooks/dba/recipes/rpm.rb
Chef::Exceptions::PrivateKeyMissing
I cannot read /etc/chef/client.pem, which you told me to use to sign requests!
Cookbook Trace:
/DBA/chef/chef-solo/cookbooks/foo/recipes/rpm.rb:11:in
from_file' /DBA/chef/chef-solo/cookbooks/foo/recipes/rpm.rb:8:in
from_file'Relevant File Content:
/DBA/chef/chef-solo/cookbooks/foo/recipes/rpm.rb:
10: # search for all items in the 'components' data bag and loop over them
11>> search(:components, "cookbook:foo AND hostname:#{node[:fqdn]}") do |component|
12: if !component["id"]
The text was updated successfully, but these errors were encountered: