Created
July 20, 2012 06:27
Revisions
-
Andrea Campi created this gist
Jul 20, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ require 'chef/knife' module Example class Knife class NodeListAll < Chef::Knife::NodeList deps do require 'chef/knife/node_list' end banner "knife node list all (options)" def run output(format_list_for_display(Chef::Node.list)) end end end end