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


Chronological Thread 
  • From: Vladimir Skubriev < >
  • To:
  • Subject: [chef] knife ssh sudo chef-client - May be there are more elegant way to do this?
  • Date: Fri, 13 Dec 2013 18:07:17 +0400

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.

§