summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJeffrey J McCune <jeff@northstarlabs.net>2008-01-19 20:39:00 -0500
committerJames Turnbull <james@lovedthanlost.net>2008-02-15 13:26:31 +1100
commit30128bd9302f7db5aee5991ebcbbdbde9852690b (patch)
treeb5787410ab5548d8cffc04d60cb31d213b8917df /lib
parentc004d2c081ef53952f7a30a32d0208e10747cbe0 (diff)
downloadpuppet-30128bd9302f7db5aee5991ebcbbdbde9852690b.tar.gz
puppet-30128bd9302f7db5aee5991ebcbbdbde9852690b.tar.xz
puppet-30128bd9302f7db5aee5991ebcbbdbde9852690b.zip
Really minor change to user creation in Leopard.
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/provider/nameservice/directoryservice.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/puppet/provider/nameservice/directoryservice.rb b/lib/puppet/provider/nameservice/directoryservice.rb
index b2ccfbd4e..973a62f6e 100644
--- a/lib/puppet/provider/nameservice/directoryservice.rb
+++ b/lib/puppet/provider/nameservice/directoryservice.rb
@@ -178,11 +178,8 @@ class DirectoryService < Puppet::Provider::NameService
# This method spits out proper DSCL commands for us.
# We EXPECT name to be @resource[:name] when called from an instance object.
- # JJM: With dscl, the domain "/" is always the default local domain.
- # The domain /Search will search all domains, and you may
- # get at specific domains with /LDAPv3/server1.foobar.com,
- # /LDAPv3/server2.foobar.com, etc...
- command_vector = [ command(:dscl), "-url", "/" ]
+ # There are two ways to specify paths in 10.5. See man dscl.
+ command_vector = [ command(:dscl), "-url", "." ]
# JJM: The actual action to perform. See "man dscl"
# Common actiosn: -create, -delete, -merge, -append, -passwd
command_vector << ds_action