Created
July 20, 2012 06:27
-
-
Save andreacampi/3149042 to your computer and use it in GitHub Desktop.
knife node list all
This file contains 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 characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment