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


#1

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


#2

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
skubriev@cvisionlab.comwrote:

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


#3

We’re using rundeck with chef-rundeck plugin to do exactly what you
describe and we’re pretty satisfied


Regards
Marco Boschetti

Il giorno 13/dic/2013, alle ore 15:37, Mike miketheman@gmail.com ha
scritto:

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
skubriev@cvisionlab.comwrote:

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


#4

If you are an on-premise enterprise customer we also have Push Jobs
functionality which replaces “knife ssh” among other things.

http://docs.opscode.com/push_jobs.html

  • Julian

On Fri, Dec 13, 2013 at 9:07 AM, Vladimir Skubriev
skubriev@cvisionlab.com 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


[ Julian C. Dunn jdunn@aquezada.com * Sorry, I’m ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]