[chef] Re: Re: Re: knife ec2 create fails SSH auth


Chronological Thread 
  • From: Cassiano Leal < >
  • To:
  • Subject: [chef] Re: Re: Re: knife ec2 create fails SSH auth
  • Date: Fri, 18 Jan 2013 13:23:45 -0200

Cool. So for now I'll just have to make sure that knife.rb is properly configured before issuing a command.

Thanks,
- cassiano

On Friday, January 18, 2013 at 13:22, Daniel DeLeo wrote:


On Friday, January 18, 2013 at 4:56 AM, Cassiano Leal wrote:

Never mind. Fixing the key path on knife.rb solved it.

I remember knife having a bug where the CLI arguments did not take precedence over knife.rb when they should, but I (barely) recall seeing e-mails about that being fixed, am I wrong?

I'm using knife 10.18.0

Cheers,
- cassiano
In Chef 10.x, it's sort-of been a game of whack-a-mole with getting the precedence correct. For Chef 11, we've recently committed a fix where knife will handle precedence in the correct way automatically:


This builds on a recent change we shipped for mixlib-cli:

There will probably be some follow-up changes in Chef 11 to remove workarounds and such.

For knife plugin authors, there is some discussion about how these changes impact knife plugin development here:



-- 
Daniel DeLeo
 




Archive powered by MHonArc 2.6.16.

§