RE: Re: Not able to execute " knife ssh 'name:*' 'chef-client' forSolaris nodes


#1

Thanks a lot Christopher.It working.

Regards,
Anuj

-----Original Message-----
From: “Christopher Armstrong” chris@chrisarmstrong.me
Sent: ‎28-‎11-‎2013 12:09
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Not able to execute " knife ssh ‘name:*’ ‘chef-client’ forSolaris nodes

The default attribute used to connect to nodes when using knife ssh is the FQDN. Try using knife ssh ‘name:*’ ‘chef-client’ -a ipaddress to connect using the IP of the nodes.

On Wed, Nov 27, 2013 at 8:36 PM, mailtoanujmittal@gmail.com wrote:

Hi,

In my setup there are multiple solaris machines (Sol 10 and Sol11) . When i
execute " knife ssh ‘name:*’ ‘chef-client’ " Solaris Nodes it giver following
error

“[root@abclx265 chef-repo]# knife ssh ‘name:*’ 'chef-client’
WARNING: Failed to connect to – SocketError: getaddrinfo: Name or service not
known
WARNING: Failed to connect to – SocketError: getaddrinfo: Name or service not
known”

Please let me know your suggestions or recommendations if any . Appreciate your
feedback and Input .

Thanks in Advance !!!

Regards.
Anuj Mittal