[[chef-dev]] Re: [[chef-dev]] Re: [[chef-dev]] Chef-server to chef client


Chronological Thread 
  • From: Kevin Nuckolls < >
  • To:
  • Subject: [[chef-dev]] Re: [[chef-dev]] Re: [[chef-dev]] Chef-server to chef client
  • Date: Thu, 28 Jul 2011 15:10:54 -0500

"test-box" would be the name of the node. Knife is performing a search to find the node with that name. Then it logs into that machine with the cloud.public_hostname attribute as the denoted username to run the specified command.

On Thu, Jul 28, 2011 at 2:06 PM, Mani Govindarajulu < "> > wrote:
name:test-box is the name of the node?

On Thu, Jul 28, 2011 at 2:45 PM, Kevin Nuckolls < " target="_blank"> > wrote:
Something along these lines is probably what you're looking for.

knife ssh "name:test-box" "sudo chef-client" -x username -a cloud.public_hostname


On Thu, Jul 28, 2011 at 11:37 AM, < " target="_blank"> > wrote:

I saw a knife ssh command which will execute the chef-client based on the role.


knife ssh "role:webserver" "sudo chef-client"

Is there anyway can i run the node with run list from the chef server




--
Thanks & Regards
> M.






Archive powered by MHonArc 2.6.16.

§