lib/chef/knife/spork-info.rb in knife-spork-1.3.2 vs lib/chef/knife/spork-info.rb in knife-spork-1.3.3
- old
+ new
@@ -1,14 +1,17 @@
require 'chef/knife'
-require 'knife-spork/runner'
module KnifeSpork
class SporkInfo < Chef::Knife
- include KnifeSpork::Runner
+ deps do
+ require 'knife-spork/runner'
+ end
+
banner 'knife spork info'
def run
+ self.class.send(:include, KnifeSpork::Runner)
self.config = Chef::Config.merge!(config)
run_plugins(:before_info)
info
run_plugins(:after_info)