diff options
author | Nick McSpadden <nmcspadden@gmail.com> | 2018-05-15 00:20:03 -0700 |
---|---|---|
committer | Nick McSpadden <nmcspadden@gmail.com> | 2018-05-15 00:48:46 -0700 |
commit | 2c9a6248d51de056719df546272a7b27cb590e95 (patch) | |
tree | fd118db1994427d3b82bffeb4cf16bc3f2074d8b /lib/chef/provider/user/dscl.rb | |
parent | e83674cd811f9bd00a902a4b5d656053cb793837 (diff) | |
download | chef-2c9a6248d51de056719df546272a7b27cb590e95.tar.gz |
Fixing shell_out to have correct syntax
Signed-off-by: Nick McSpadden <nmcspadden@gmail.com>
Diffstat (limited to 'lib/chef/provider/user/dscl.rb')
-rw-r--r-- | lib/chef/provider/user/dscl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/user/dscl.rb b/lib/chef/provider/user/dscl.rb index a1ff30ef1c..79a2c73339 100644 --- a/lib/chef/provider/user/dscl.rb +++ b/lib/chef/provider/user/dscl.rb @@ -326,7 +326,7 @@ user password using shadow hash.") end def ditto_home - shell_out_compact!("/usr/sbin/createhomedir -c -u #{new_resource.username}") + shell_out_compact!("/usr/sbin/createhomedir", "-c", "-u", "#{new_resource.username}") end def move_home |