Skip to content
This repository has been archived by the owner on Nov 6, 2018. It is now read-only.

Commit

Permalink
Merge pull request #25 from RoboticCheese/jdh-fix-for-chef-13
Browse files Browse the repository at this point in the history
Fix incompatibility with Chef 13
  • Loading branch information
damacus committed May 22, 2017
2 parents ef10448 + 25b9a24 commit 3ec219a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/userdefaults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
include Chef::Mixin::ShellOut

def load_current_resource
@userdefaults = Chef::Resource::MacOsXUserdefaults.new(new_resource.name)
@userdefaults = Chef::Resource.resource_for_node(:mac_os_x_userdefaults, node).new(new_resource.name)
@userdefaults.key(new_resource.key)
@userdefaults.domain(new_resource.domain)
Chef::Log.debug("Checking #{new_resource.domain} value")
Expand Down

0 comments on commit 3ec219a

Please sign in to comment.