Another option is to write a knife plugin; in this case it's extremelyThat's ideal, I'll definitely take a further look into knife plugins.
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.