[chef] Re: hostnames hit by knife ssh


Chronological Thread 
  • From: Steven Danna < >
  • To: < >
  • Cc: < >
  • Subject: [chef] Re: hostnames hit by knife ssh
  • Date: Wed, 5 Dec 2012 01:30:56 -0800

On 12/5/12 12:31 AM, 

 wrote:

> anyone know how this changed? or how i can get the behavior of knife ssh
> hitting node['fqdn']?

The feature was added in 10.14.0 in subsequently improved/changed.  The
commit is 3c52de54beb03a371b06a7b451591c650a79bb8a in the Chef repository.

Across the cloud providers, the thought was that
node['cloud']['public_hostname'] would be the more reliable name to
connect to.

You should be able to use fqdn by doing the following:

    knife ssh "QUERY' -a fqdn

I hope this helps.

Sincerely,

Steven

-- 
Steven Danna
Systems Engineer, Opscode, Inc
GPG Key: http://stevendanna.github.com/downloads/code/public.key

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.16.

§