[chef] Re: knife ssh --manual-list syntax


Chronological Thread 
  • From: Maxime Brugidou < >
  • To:
  • Subject: [chef] Re: knife ssh --manual-list syntax
  • Date: Tue, 9 Apr 2013 08:08:31 +0200

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.

§