summaryrefslogtreecommitdiff
path: root/lib/chef/provider/launchd.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/launchd.rb')
-rw-r--r--lib/chef/provider/launchd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/launchd.rb b/lib/chef/provider/launchd.rb
index 0ec8d0cfe1..f3e0a00758 100644
--- a/lib/chef/provider/launchd.rb
+++ b/lib/chef/provider/launchd.rb
@@ -150,7 +150,7 @@ class Chef
end
def content
- plist_hash = new_resource.hash || gen_hash
+ plist_hash = new_resource.plist_hash || gen_hash
Plist::Emit.dump(plist_hash) unless plist_hash.nil?
end