23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# File 'lib/chef/knife/cloud/server/list_options.rb', line 23
def self.included(includer)
includer.class_eval do
option :chef_data,
long: "--chef-data",
boolean: true,
default: false,
description: "Display chef node data which include chef node name, environment name, fqdn, platform, runlist and tags."
option :chef_node_attribute,
long: "--chef-node-attribute CHEF_NODE_ATTRIBUTE_NAME",
description: "Used with --chef-data option. It display node attributes details by adding new column in server list display."
end
end
|