summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/provider/user/mac.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/user/mac.rb b/lib/chef/provider/user/mac.rb
index 104cf51abe..62575851e5 100644
--- a/lib/chef/provider/user/mac.rb
+++ b/lib/chef/provider/user/mac.rb
@@ -80,7 +80,7 @@ class Chef
admin_group_xml = run_dscl("read", "/Groups/admin")
return nil unless admin_group_xml && admin_group_xml != ""
- @admin_group_plist = ::Plist.new(::Plist.parse_xml(admin_group_xml))
+ @admin_group_plist = Plist.new(::Plist.parse_xml(admin_group_xml))
end
def reload_user_plist
@@ -95,7 +95,7 @@ class Chef
return nil if user_xml.nil? || user_xml == ""
- @user_plist = ::Plist.new(::Plist.parse_xml(user_xml))
+ @user_plist = Plist.new(::Plist.parse_xml(user_xml))
return unless user_plist[:shadow_hash]