lib/chef/provisioning/driver.rb in chef-provisioning-1.5.0 vs lib/chef/provisioning/driver.rb in chef-provisioning-1.5.1
- old
+ new
@@ -309,15 +309,15 @@
end
end
# In chef-provisioning we don't perform resource cloning
# This fixes resource cloning when the ResourceBuilder is present
-
+require 'chef/resource_builder' unless defined?(Chef::ResourceBuilder)
class Chef
class ResourceBuilder
if defined?(:prior_resource)
def prior_resource
- # NOOP
+ nil
end
end
end
end