Skip to content

Instantly share code, notes, and snippets.

@rcreasey
Created November 3, 2009 18:45
Show Gist options
  • Save rcreasey/225311 to your computer and use it in GitHub Desktop.
Save rcreasey/225311 to your computer and use it in GitHub Desktop.
arkham:skynet_cookbooks ryan$ diff -u cookbooks/farms/providers/useradd.rb ../chef/chef/lib/chef/provider/user/useradd.rb
--- cookbooks/farms/providers/useradd.rb 2009-10-29 17:25:50.000000000 -0700
+++ ../chef/chef/lib/chef/provider/user/useradd.rb 2009-11-03 10:44:03.000000000 -0800
@@ -94,7 +94,7 @@
opts << " -d '#{@new_resource.home}' -m"
else
Chef::Log.debug("Setting #{@new_resource} home to #{@new_resource.home}")
- opts << " -d '#{@new_resource.home}' -M"
+ opts << " -d '#{@new_resource.home}'"
end
end
opts << " #{@new_resource.username}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment