summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/reference.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-11-27 18:35:25 -0600
committerLuke Kanies <luke@madstop.com>2007-11-27 18:35:25 -0600
commit168fa5f912b0b15dbd3773a23649093e69e3d185 (patch)
treee14924005141a6af6a23135d2be6403f938ffa7c /lib/puppet/util/reference.rb
parent30547c93050a958b289fe1c85b76bb2dc5ae4048 (diff)
downloadpuppet-168fa5f912b0b15dbd3773a23649093e69e3d185.tar.gz
puppet-168fa5f912b0b15dbd3773a23649093e69e3d185.tar.xz
puppet-168fa5f912b0b15dbd3773a23649093e69e3d185.zip
Fixing the asuser method in Puppet::Util::SUIDManager
so that it correctly just yields if you're not root. It also no longer tries to set :uid or :gid; just :euid and :egid, and it once again sets :egid before it sets :euid, which is important because you usually can't change your group after you've changed your user id.
Diffstat (limited to 'lib/puppet/util/reference.rb')
0 files changed, 0 insertions, 0 deletions