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


Chronological Thread 
  • From: Denis Haskin < >
  • To:
  • Subject: [chef] Re: Re: Default attribute for knife ssh in the clouds?
  • Date: Thu, 26 Jul 2012 15:49:44 -0400

Also +1

--
Denis Haskin




On Thu, Jul 26, 2012 at 3:43 PM, Nick Peirson < " target="_blank"> > wrote:
On 26/07/2012 20:14, Bryan McLellan wrote:
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
+1

Works for me as long, as long you can override it. As you say, being unable to override would be a showstopper. It was bad enough not being able to override settings from knife.rb.

Cheers
Nick




Archive powered by MHonArc 2.6.16.

§