diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-11-09 22:50:34 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-11-09 22:50:34 +0000 |
commit | 10634d69c654686d05f34a39e1ba1c603a13a3cb (patch) | |
tree | d23064e13d0c7a9783c21427b1e31ad9dc5aa3a6 /lib/puppet | |
parent | 349e2aabe04a770e277b1a0a36cf180610f7f5b3 (diff) | |
download | puppet-10634d69c654686d05f34a39e1ba1c603a13a3cb.tar.gz puppet-10634d69c654686d05f34a39e1ba1c603a13a3cb.tar.xz puppet-10634d69c654686d05f34a39e1ba1c603a13a3cb.zip |
Fixing #324. Mkusers was not specifically ignoring the root user, and it is now.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1851 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/config.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/config.rb b/lib/puppet/config.rb index 5725bcd93..9a381585a 100644 --- a/lib/puppet/config.rb +++ b/lib/puppet/config.rb @@ -411,6 +411,9 @@ class Config # If a user and/or group is set, then make sure we're # managing that object if obj.respond_to? attr and name = obj.send(attr) + # Skip root or wheel + next if %w{root wheel}.include?(name.to_s) + # Skip owners and groups we've already done, but tag # them with our section if necessary if done[type].include?(name) |