lib/chef/provisioning/driver.rb in chef-provisioning-1.3.0 vs lib/chef/provisioning/driver.rb in chef-provisioning-1.4.0

- old
+ new

@@ -306,5 +306,18 @@ Cheffish.get_private_key(name, config) end end end end + +# In chef-provisioning we don't perform resource cloning +# This fixes resource cloning when the ResourceBuilder is present + +class Chef + class ResourceBuilder + if defined?(:prior_resource) + def prior_resource + # NOOP + end + end + end +end