lib/chef/knife/spork-info.rb in knife-spork-1.6.3 vs lib/chef/knife/spork-info.rb in knife-spork-1.7.0

- old
+ new

@@ -1,6 +1,7 @@ require 'chef/knife' +require 'yaml' module KnifeSpork class SporkInfo < Chef::Knife deps do @@ -19,10 +20,10 @@ end private def info ui.msg "Config Hash:" - ui.msg "#{spork_config.to_hash}" + ui.msg spork_config.to_yaml ui.msg "" ui.msg "Plugins:" KnifeSpork::Plugins.klasses.each do |klass| plugin = klass.new(:config => spork_config) ui.msg "#{klass}: #{plugin.enabled? ? 'enabled' : 'disabled'}"