summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/provider/user/dscl.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/provider/user/dscl.rb b/lib/chef/provider/user/dscl.rb
index 4da6465bd6..12be6ffb7e 100644
--- a/lib/chef/provider/user/dscl.rb
+++ b/lib/chef/provider/user/dscl.rb
@@ -18,6 +18,7 @@
require "chef/mixin/shell_out"
require "chef/provider/user"
+require "chef/resource/user/dscl_user"
require "openssl"
require "plist"
require "chef/util/path_helper"
@@ -99,7 +100,7 @@ in 'password', with the associated 'salt' and 'iterations'.")
end
def load_current_resource
- @current_resource = Chef::Resource::User.new(new_resource.username)
+ @current_resource = Chef::Resource::User::DsclUser.new(new_resource.username)
current_resource.username(new_resource.username)
@user_info = read_user_info