summaryrefslogtreecommitdiff
path: root/lib/chef/provider/user/dscl.rb
diff options
context:
space:
mode:
authorNick McSpadden <nmcspadden@gmail.com>2018-05-15 00:20:03 -0700
committerNick McSpadden <nmcspadden@gmail.com>2018-05-15 00:48:46 -0700
commit2c9a6248d51de056719df546272a7b27cb590e95 (patch)
treefd118db1994427d3b82bffeb4cf16bc3f2074d8b /lib/chef/provider/user/dscl.rb
parente83674cd811f9bd00a902a4b5d656053cb793837 (diff)
downloadchef-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.rb2
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