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: