[chef] Re: Re: Vagrant/EC2 in attributes.


Chronological Thread 
  • From: Douglas Garstang < >
  • To:
  • Subject: [chef] Re: Re: Vagrant/EC2 in attributes.
  • Date: Mon, 9 Feb 2015 09:09:36 -0800

Thanks. Wasn't aware of that.

On Fri, Feb 6, 2015 at 1:31 PM, Torben Knerr < " target="_blank"> > wrote:
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.

§