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


Chronological Thread 
  • From: Noah Kantrowitz < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Starting out with the opscode platform.
  • Date: Mon, 30 May 2011 00:31:24 -0700


On 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.

We try to encourage the workflow such that these values should be in roles (or in data bags referred to from roles somehow). You can store this information on a per-node basis, but this runs counter to the philosophy that a network should have no special snowflake machines, they might just be the only machine running a given role. That said, Chef itself is fairly unopinionated on the matter, using `knife node edit` and `knife node from file` will address this use case.

--Noah




Archive powered by MHonArc 2.6.16.

§