[chef] Re: Re: Re: Re: Re: Starting out with the opscode platform.


Chronological Thread 
  • From: Grig Gheorghiu < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Starting out with the opscode platform.
  • Date: Tue, 31 May 2011 15:09:36 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ZRALumgMTtONOrXoX33CLT0lsdmOdljbHVOoBNW3DQJYT8G3BJjZGR3uxnzbgNYSTX 2IbSVgurbgrVk9lzhsPVHJWVKXOqPWqDvwD/YW/h3ssFykhv9mM0ZPtdzRBgpfICj4PW VGd/wz/B/9dImsO/JfptHDJnelFa+n4bZWi8Y=

On Sun, May 29, 2011 at 8:08 PM, Tim Uckun 
< >
 wrote:
>> I would ask why you need to set the ip address and host name and where
>> else could you put it?
>
> I am just using that as an example. It could be any variable like to
> location of the backup file, the name of the user that the
> applications are deployed under, etc.
>
> Basically every host has some unique requirements and settings.

For host-specific configuration settings I tend to use attributes. See
this blog post for more info:

http://agiletesting.blogspot.com/2010/11/working-with-chef-attributes.html

HTH

Grig



Archive powered by MHonArc 2.6.16.

§