[chef] Re: knife ssh sudo chef-client - May be there are more elegant way to do this?


Chronological Thread 
  • From: Mike < >
  • To: " " < >
  • Subject: [chef] Re: knife ssh sudo chef-client - May be there are more elegant way to do this?
  • Date: Fri, 13 Dec 2013 09:37:08 -0500

I saw this tool a while back: https://github.com/cramerdev/capistrano-chef

Might be along the lines you're looking for.
-M


On Fri, Dec 13, 2013 at 9:07 AM, Vladimir Skubriev < " target="_blank"> > wrote:
May be there are more elegant way to do this?

knife ssh "*:*" "sudo chef-client>/dev/null; if [ $? -eq 0 ]; then echo "OK"; else echo "BAD"; fi" -i ~/.ssh/id_rsa -x sysadmin --no-host-key-verify


So may be there are useful tools for running chef clients on node in a parallel mode with a good options?

--
Faithfully yours,

CVision Lab System Administrator
Vladmir Skubriev





Archive powered by MHonArc 2.6.16.

§