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

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

I saw this tool a while back: GitHub - gofullstack/capistrano-chef: Capistrano extensions for Chef integration

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

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: GitHub - gofullstack/capistrano-chef: Capistrano extensions for Chef integration

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

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: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]