Class: Chef::Knife::UpdateStatus
- Inherits:
-
Chef::Knife
- Object
- Chef::Knife
- Chef::Knife::UpdateStatus
- Includes:
- Update
- Defined in:
- lib/chef/knife/update_status.rb
Instance Method Summary collapse
Methods included from Update
#except, included, #node_list, #only, #recipes, #target_version
Instance Method Details
#run ⇒ Object
28 29 30 31 32 33 34 35 |
# File 'lib/chef/knife/update_status.rb', line 28 def run list = node_list ui.msg "Currently installed chef-client versions:" list.sort.each do |version, nodes| ui.msg " Chef #{version}: #{nodes.size} nodes" end end |