For anyone that has this issue the omnibus installer chef_10.26.0-1.ubuntu.11.04_amd64.deb has the valid symlink for ohai. Back to this version for now. -Pete From: Peter Crossley [mailto:
Tim,
Yes we want to move to 11 but there is a process.
J So for now we are on 10.28.0-1, or trying to be. I just spun a blank 12.04 new instance in ec2 with nothing but a key pair tied to it, (no user data) and the omnibus installer does not create a symlink for
ohai using this deb.
https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_10.28.0-1.ubuntu.12.04_amd64.deb
Output…
:~# dpkg -i chef_10.28.0-1.ubuntu.12.04_amd64.deb
Selecting previously unselected package chef. (Reading database ... 47443 files and directories currently installed.) Unpacking chef (from chef_10.28.0-1.ubuntu.12.04_amd64.deb) ... Setting up chef (10.28.0-1.ubuntu.12.04) ... Thank you for installing Chef! Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-3.2.0-41-virtual
:~# ohai ohai: command not found Contents..
:/opt/chef/bin# ls chef-client chef-solo knife shef I will try 11 I bet that will work but we can’t move to it yet. Looks like a bug in the installer. Pete, A large number of my 12.04 systems are running the 10.28.0 Omnibus package. Ohai is installed with a symlink at /usr/bin/ohai to /opt/chef/bin/ohai. These were fresh installs of the Omnibus Deb on base 12.04 systems. Out of curiosity
though why aren't you migrating to the Chef 11 Omnibus package? I was mid way into a migration from gems to the Omnibus package when I realized I should just go straight to Chef 11. The effort involved in updating cookbooks to Chef 11 was fairly minimal. -Tim On Sep 10, 2013, at 10:28 PM, Peter Crossley <
">
> wrote:
|
Archive powered by MHonArc 2.6.16.