Hi Doug,
chef-sugar should be able to sweeten that up for you (along with some
other useful stuff):
https://github.com/sethvargo/chef-sugar/
HTH,
Torben
On Fri, Feb 6, 2015 at 9:56 PM, Douglas Garstang
< "> > wrote:
> I was wondering if there was a way in attributes.rb, possibly with use of
> 'when' to determine if the environment was ec2 or vagrant? I'd like to know
> that before setting certain attributes.
>
> Doug
>
>
Archive powered by MHonArc 2.6.16.