[chef] Default attribute for knife ssh in the clouds?


Chronological Thread 
  • From: Bryan McLellan < >
  • To:
  • Subject: [chef] Default attribute for knife ssh in the clouds?
  • Date: Thu, 26 Jul 2012 15:14:17 -0400

Historically (since CHEF-922) when using 'knife ssh' to connect to an
EC2 system, you passed "-a ec2.public_hostname" to specify what
attribute to get the address from.

CHEF-1554 [1] proposes to use node[:cloud][:public_hostname] is
[:cloud] is populated. It currently falls back on
(Chef::Config[:knife][:ssh_attribute] || config[:attribute] || "fqdn")
if cloud is not. I think this would prevent you from being able to
override, which isn't acceptable. Provided that is fixed, what's
everyone think about changing the default along the lines of this
proposal?

Bryan

[1] http://tickets.opscode.com/browse/CHEF-1554



Archive powered by MHonArc 2.6.16.

§