[chef] Re: Re: set run list on Server or node.


Chronological Thread 
  • From: Howard Zhang < >
  • To: chef < >
  • Subject: [chef] Re: Re: set run list on Server or node.
  • Date: Thu, 5 Sep 2013 12:54:13 +0800

What I know is that the two command, "knife bootstrap -r xxx" and "knife node run_list set" is different. The first one is the bootstraped node tell Chef server his run list, while the other is that knife tell Chef Server to assign run list to certain node.

Howard


On Wed, Sep 4, 2013 at 11:38 PM, Daniel DeLeo < " target="_blank"> > wrote:

On Tuesday, September 3, 2013 at 8:37 PM, Howard Zhang wrote:

Hi,

I wonder when I use knife to set a Node's run list, knife build connection with server or node to set its run list? Is "bootstrap -r" make use of the same mechanism with "knife node run_list"?
No, when you bootstrap, it creates a JSON file on the remote box and passes `-j /etc/chef/first-boot.json` option to chef-client.

 

Thanks.

Cheers,
Howard Zhang



-- 
Daniel DeLeo





Archive powered by MHonArc 2.6.16.

§