[chef] Re: Re: Re: Re: How to authenticate knife with a fresh Chef 0.9.12 server


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: How to authenticate knife with a fresh Chef 0.9.12 server
  • Date: Wed, 6 Apr 2011 08:00:50 -0700

On Wednesday, April 6, 2011 at 3:00 AM, Jonathan Matthews wrote:
On 6 April 2011 03:28, Daniel DeLeo < "> > wrote:
Use `--no-editor` (-n for short) to turn off editing. Or you could do
something crazy like set editor to a program that edits the file. But -n
will suffice for most uses ;)

Is -n a recent(ish) improvement? I'd been using the horrible cludge of
"-e /bin/true" in some scripts, which always felt dirty ...

Been there forever as far as I can tell:

https://github.com/opscode/chef/blob/0.8.2/chef/lib/chef/application/knife.rb#L60-64

Thats 0.8.2, Feb 2010

-- 
Dan DeLeo




Archive powered by MHonArc 2.6.16.

§