lib/services/connection.rb in jn_services-1.0.6 vs lib/services/connection.rb in jn_services-1.0.7

- old
+ new

@@ -62,17 +62,10 @@ # Chefs chef_gem resource # def load_gem require 'etcd' rescue LoadError - if run_context - Chef::Log.info 'etcd gem not found. attempting to install' - g = Chef::Resource::ChefGem.new 'etcd', run_context - g.version '0.0.6' - run_context.resource_collection.insert g - g.run_action :install - require 'etcd' - end + Chef::Log.info 'etcd gem not found. Please install etcd >= 0.2.0' if run_context end # # Find other Etd Servers by looking at node attributes or via Chef Search #