Could not find 'chef-config' (= 12.8.0) - did find: [chef-config-12.7.2] #718
Comments
Yeah, seems the pinned version doesn't match what is shipped. Until a new ChefDK ships, you can work around it by changing the bin/ohai ruby script in the ChefDK install bits to point to 12.7.2. I'm not sure where ChefDK lands on your Ubuntu image, but on windows that's c:\opscode\chefdk\bin\ohai. |
For Macs and at least the RHEL installs it lands @ /opt/chefdk/bin/ohai. I'd guess that the deb packages would drop it in the same place. ty @smurawski for letting us know what to change to get things going again. |
Please help me help in running ohai command on ubuntu machine root@ip-172-31-13-194:/var/chef/cookbooks/apache# uname -a root@ip-172-31-13-194:/var/chef/cookbooks/apache# che root@ip-172-31-13-194:/var/chef/cookbooks/apache# |
I ran into this problem using the ChefDK .deb file. Temporary workaround:
|
I am curious if as part of fixing this bug, there could be an improvement to CI to help prevent it from happening again? |
Same problem on OSX. thomasv314's work around worked. |
Had the same issue on RHEL, above work around fixed it. |
Thanks to thomasv314, Open the ohai binary: vim $(which ohai) This fixed my issue. now I can run ohai command. |
I believe another fix is to rebuild from master. |
Thanks @thomasv314. Upped mine to 12.9.0, fixed issue. |
Hi Thomas Vendetta, That fixed my issue. Regards On Wed, Mar 16, 2016 at 8:34 AM, Dave Withers notifications@github.com
|
Fixed the root cause of this in chef/ohai#776 and will be adding a fix to prevent this entire class of problem in chef/appbundler#26 There is also a test in ChefDK now which can catch this issue, so the upcoming ChefDK release will fix it. |
Hi,
it seems that
ohai
version that comes with ChefDK 0.11.2 doesn't really do well on my machine (Ubuntu 14.04 x64):Cheers,
Jakub
The text was updated successfully, but these errors were encountered: