[chef] Re: Re: still necessary to hint Ohai on EC2 VPC?


Chronological Thread 
  • From: Paul MacDougall < >
  • To:
  • Subject: [chef] Re: Re: still necessary to hint Ohai on EC2 VPC?
  • Date: Tue, 12 Aug 2014 09:13:59 -0700

Is there an issue or PR for this on github?  I'd like to follow it for future reference.

TIA,
--Paul

" type="cite">
" photoname="Jason Perry" src="jpg1JPbCR5sxX.jpg" name="postbox-contact.jpg" height="25px" width="25px">
August 12, 2014 at 3:59
Hey Bryan,

I believe this is still the case considering last week I pulled in the latest ohai cookbook and the node[:ec2] attribute was not populated in my ec2 vpc (kind of annoying).  I had to use the ohai_hint lwrp and reload ohai directly afterwards.  Few things to note though, make sure and provide a value for the ec2 hint.  I ended up just putting { "type" => "vpc" } for the content attribute to the ohai_hint lwrp (otherwise the ec2.json file will not be created - see the provider code for why this is).  You'll also have to make sure and run the ohai_hint and ohai reload in the convergence phase if you use the node[:ec2] anywhere during that phase.  Hopefully ec2 vpc detection can be detected in the near future.

  -- Jay

On Aug 12, 2014, at 5:58 AM, Bryan Berry < "> > wrote:

" photoname="Bryan Berry" src="jpgVkpfNPchPL.jpg" name="postbox-contact.jpg" height="25px" width="25px">
August 12, 2014 at 2:58
Dear chefs,

according to this list thread from Jan of this year http://lists.opscode.com/sympa/arc/chef/2014-01/msg00340.html, it is necessary to hint Ohai when running inside an EC2 VPC. Is this still the case?

cheers,

Bryan W. Berry



Archive powered by MHonArc 2.6.16.

§