diff options
Diffstat (limited to 'lib/chef/provider/file.rb')
-rw-r--r-- | lib/chef/provider/file.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/provider/file.rb b/lib/chef/provider/file.rb index 36225fb8a8..3e2f97b9a3 100644 --- a/lib/chef/provider/file.rb +++ b/lib/chef/provider/file.rb @@ -148,6 +148,7 @@ class Chef do_acl_changes do_selinux load_resource_attributes_from_file(new_resource) unless Chef::Config[:why_run] + # FIXME: we may need to add a callback for remote_file to save the file-edited checksum for network-level idempotency end def action_create_if_missing @@ -336,7 +337,7 @@ class Chef def do_file_editing if new_resource.edit && tempfile - editor = new_resource.file_editor_class.from_file(tempfile.path) + editor = new_resource.editor_class.from_file(tempfile.path) editor.instance_exec(&new_resource.edit) editor.finish! end |