- From:
- To:
- Subject: [chef] Re: Re: knife ssh --manual-list syntax
- Date: Tue, 9 Apr 2013 06:48:53 +0000
hmm. yep, that works. i could swear i once tried that and it threw an error.
but i was
probably in a hurry or fat fingered something. thanks!
On Tue, 09 Apr 2013, Maxime Brugidou wrote:
>
Add quotes around the server list
>
>
knife ssh -m "db01 db02 db03" -x root uptime
>
On Apr 9, 2013 6:24 AM,
>
<
>
>
wrote:
>
>
>
>
> hi. i can't seem to get to a happy syntax place when trying to use
>
> --manual-list with knife ssh. below, i'm trying to ssh to 3 nodes. what's
>
> the
>
> correct way to wield this?
>
>
>
> $ knife ssh -x root 'uptime' --manual-list db01 db02 db03
>
> WARNING: Failed to connect to uptime -- SocketError: getaddrinfo: Name or
>
> service not known
>
>
>
> $ knife ssh --manual-list db01 db02 db03 -x root 'uptime'
>
> db01 bash: db02: command not found
>
>
>
> thanks
>
> kallen
>
>
Archive powered by MHonArc 2.6.16.