summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerdar Sutay <serdar@opscode.com>2014-08-18 14:30:34 -0700
committerSerdar Sutay <serdar@opscode.com>2014-08-18 14:30:34 -0700
commit361812aeb614a1c9946197d2cfe4d6b3f10c9309 (patch)
treea1c39bf6a1f6b8b043d62cdc71077f5126e51f11
parentb6e4819d513a6e19d5d8eb82f10ce1f1d78aee81 (diff)
downloadchef-361812aeb614a1c9946197d2cfe4d6b3f10c9309.tar.gz
In Chef 10 providers do not have shell_out in their base classes.
-rw-r--r--chef/lib/chef/provider/user/dscl.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/chef/lib/chef/provider/user/dscl.rb b/chef/lib/chef/provider/user/dscl.rb
index 8f56859fe4..ac5b7e019d 100644
--- a/chef/lib/chef/provider/user/dscl.rb
+++ b/chef/lib/chef/provider/user/dscl.rb
@@ -16,6 +16,7 @@
# limitations under the License.
#
+require 'chef/mixin/shell_out'
require 'mixlib/shellout'
require 'chef/provider/user'
require 'openssl'
@@ -24,6 +25,8 @@ require 'plist'
class Chef
class Provider
class User
+ include Chef::Mixin::ShellOut
+
#
# The most tricky bit of this provider is the way it deals with user passwords.
# Mac OS X has different password shadow calculations based on the version.