[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:10:25 -0800

Actually, node[:virtualization][:system] has been working well too.

On Mon, Feb 9, 2015 at 9:09 AM, Douglas Garstang < " target="_blank"> > wrote:
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
< " target="_blank"> > 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.

§