[chef] Re: node run list


Chronological Thread 
  • From: Ranjib Dey < >
  • To:
  • Subject: [chef] Re: node run list
  • Date: Thu, 29 Dec 2011 16:11:55 +0530

yes you can do it either  by
1) pre creating the node using `knife node create` , make sure the name of the node is either fqdn or the value of  -N [while boot strapping] or the node_name param in /etc/chef/client.rb
2) make a json file which contains the run list and  invoke the first chef run in your node with -j argument, -j /etc/chef/bootstrap/first-boot.json
this is the way standard knife boot strap works
regards
ranjib


On Thu, Dec 29, 2011 at 3by:42 PM, Kelly Goedert < "> > wrote:
Hi,

I was able to put the installation of a new chef client on a shell script to be executed after a new system installation. Now, what I want is that the first time this client/node runs it already has a run_list setup. Is it possible?

Thanks

Kelly




Archive powered by MHonArc 2.6.16.

§