[chef] Re: Re: Re: Re: Re: knife node list output different to Opscode interface


Chronological Thread 
  • From: Nick Peirson < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: knife node list output different to Opscode interface
  • Date: Sun, 22 Jul 2012 13:39:07 +0100

On 20/07/2012 07:29, Andrea Campi wrote:
Another option is to write a knife plugin; in this case it's extremely 
trivial.

Drop the content of this gist https://gist.github.com/3149042 in
.chef/plugins/knife/node_list_all.rb
You now have a new option available: "knife node list all" which will
ignore the environment from your config file.
"knife node list" will work exactly as before.

Knife plugins are very powerful, everybody should learn to use them more ;)

Andrea
That's ideal, I'll definitely take a further look into knife plugins.

Cheers
Nick



Archive powered by MHonArc 2.6.16.

§