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


Chronological Thread 
  • From: Noah Kantrowitz < >
  • To:
  • Subject: [chef] Re: Re: Re: Starting out with the opscode platform.
  • Date: Sun, 29 May 2011 19:41:19 -0700


On May 29, 2011, at 7:30 PM, Tim Uckun wrote:


If you have some custom setup (most people do) then you would create a
new recipe to do that and include it in the relevant role.


How about highly specific parameters like IP address etc.

I am sorry if this is a dumb question but I am coming from puppet and
I guess I still have that the puppet way of doing things in my head.

Normally I set up my node and set some variables like

$ip_address = 'blah'
$host_name = 'blah'

Then I might have individual resources for this node alone like

file :some_file { ...}

This along with the inheritance of other common roles defines the
state of the node.

I am wondering where that configuration takes place in the chef node.
From what you guys are saying it sounds like I need to create a role
for the server right?

Generally in these kinds of things are already provided via DHCP, but you could build recipes to set them more explicitly.

--Noah



Archive powered by MHonArc 2.6.16.

§