summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-08-19 11:20:14 -0700
committerJames Turnbull <james@lovedthanlost.net>2009-08-24 11:36:19 +1000
commitb0f219ad177c8e9c261578586f0324cef0c71cd2 (patch)
tree540ab60414affe8565a776a417342cfa4ac2187d /lib
parent7f749cb93787dc3a0f70b0e24ddda1e0cdfecb3d (diff)
downloadpuppet-b0f219ad177c8e9c261578586f0324cef0c71cd2.tar.gz
puppet-b0f219ad177c8e9c261578586f0324cef0c71cd2.tar.xz
puppet-b0f219ad177c8e9c261578586f0324cef0c71cd2.zip
Removing chuser on darwin restriction
For too long we have refused to change users on Darwin because a long time ago the ruby they shipped with was really, really broken. It's been fixed for a while, so this just removes the restriction. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/util.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/puppet/util.rb b/lib/puppet/util.rb
index 50a669e9b..ef56328bc 100644
--- a/lib/puppet/util.rb
+++ b/lib/puppet/util.rb
@@ -26,10 +26,6 @@ module Util
# Change the process to a different user
def self.chuser
- if Facter["operatingsystem"].value == "Darwin"
- $stderr.puts "Ruby on darwin is broken; puppetmaster will not set its UID to 'puppet' and must run as root"
- return
- end
if group = Puppet[:group]
group = self.gid(group)
unless group