diff options
author | Tim Smith <tsmith@chef.io> | 2020-04-10 13:27:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 13:27:36 -0700 |
commit | 4dd0ca7bed5ba7181a86b7dd53ee0cbf657cde3d (patch) | |
tree | 382f66a46ac9322820c179d2b3c477bd8931d5bc | |
parent | 7610efe78189fde045c4b2554277799db664d12e (diff) | |
download | chef-4dd0ca7bed5ba7181a86b7dd53ee0cbf657cde3d.tar.gz |
Update lib/chef/resource/plist.rb
Signed-off-by: Tim Smith <tsmith@chef.io>
Co-Authored-By: pete higgins <pete@peterhiggins.org>
-rw-r--r-- | lib/chef/resource/plist.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/resource/plist.rb b/lib/chef/resource/plist.rb index 19367f22a6..2d14ac8d4c 100644 --- a/lib/chef/resource/plist.rb +++ b/lib/chef/resource/plist.rb @@ -66,8 +66,7 @@ class Chef converge_if_changed :path do converge_by "create new plist: '#{new_resource.path}'" do file new_resource.path do - empty_plist = {}.to_plist - content empty_plist + content {}.to_plist owner new_resource.owner group new_resource.group mode new_resource.mode if property_is_set?(:mode) |