lib/chef/provider/template.rb in chef-0.8.14 vs lib/chef/provider/template.rb in chef-0.8.16
- old
+ new
@@ -71,10 +71,10 @@
update = true
end
if update
backup
- FileUtils.mv(template_file.path, @new_resource.path)
+ FileUtils.cp(template_file.path, @new_resource.path)
@new_resource.updated = true
else
Chef::Log.debug("#{@new_resource} is unchanged")
end
end