diff options
-rw-r--r-- | lib/chef/knife/core/node_presenter.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/knife/core/node_presenter.rb b/lib/chef/knife/core/node_presenter.rb index 5192c53f51..f65619298a 100644 --- a/lib/chef/knife/core/node_presenter.rb +++ b/lib/chef/knife/core/node_presenter.rb @@ -125,8 +125,12 @@ ROLES summarized << <<-SUMMARY #{key('Recipes:')} #{Array(node[:recipes]).join(', ')} #{key('Platform:')} #{node[:platform]} #{node[:platform_version]} +SUMMARY + unless node.tags.nil? + summarized << <<-SUMMARY #{key('Tags:')} #{node.tags.join(', ')} SUMMARY + end if config[:medium_output] || config[:long_output] summarized +=<<-MORE #{key('Attributes:')} |