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


Chronological Thread 
  • From: Andrea Campi < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: knife node list output different to Opscode interface
  • Date: Fri, 20 Jul 2012 08:29:31 +0200

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



Archive powered by MHonArc 2.6.16.

§