[chef] RE: RE: Re: Ubuntu 12.04 + omnibus chef 0.10.28 missing ohai in the path


Chronological Thread 
  • From: Peter Crossley < >
  • To: " " < >
  • Subject: [chef] RE: RE: Re: Ubuntu 12.04 + omnibus chef 0.10.28 missing ohai in the path
  • Date: Wed, 11 Sep 2013 19:13:08 +0000
  • Accept-language: en-US

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:
Sent: Wednesday, September 11, 2013 9:22 AM
To:
Subject: [chef] RE: Re: Ubuntu 12.04 + omnibus chef 0.10.28 missing ohai in the path

 

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.

 

From: Tim Smith [ ">mailto: ]
Sent: Tuesday, September 10, 2013 11:12 PM
To: ">
Subject: [chef] Re: Ubuntu 12.04 + omnibus chef 0.10.28 missing ohai in the path

 

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

Limelight Networks

Tim Smith  - Systems Engineer 
m: +1 707.738.8132

 

 

 

On Sep 10, 2013, at 10:28 PM, Peter Crossley < "> > wrote:

 

Ohai (or not in my case) –

 

Anyone using the Omnibus deb version 0.10.28 for Ubuntu 12.04?  On clean install it seems the ohai gem stub wrapper is not being generated in /opt/chef/bin nor is it getting a symlink from /usr/bin/ohai

 

Ohai work since if I by hand create a wrapper (eg cp /opt/chef/bin/chef-client /opt/chef/bin/ohai and update to point to the ohai gem)  I am able to use ohai from the bash prompt.  Is this not supported in omnibus anymore?

 

Quick history we are moving from the apt deb packages to the omnibus version so we can take advantage of the latest updates sooner.

 

Any help or direction would be great.

 

-Pete

 




Archive powered by MHonArc 2.6.16.

§