[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.7-1-98-gf19c0e5

James Turnbull james at lovedthanlost.net
Wed Apr 8 21:48:17 UTC 2009


The following commit has been merged in the master branch:
commit 7504b0499170aa81a143f74065507410424e5e17
Author: James Turnbull <james at lovedthanlost.net>
Date:   Wed Feb 25 02:25:09 2009 +1100

    Updated useradd.rb managehome confine to include other RH-like distributions

diff --git a/lib/puppet/provider/user/useradd.rb b/lib/puppet/provider/user/useradd.rb
index 6996dd6..15b3b13 100644
--- a/lib/puppet/provider/user/useradd.rb
+++ b/lib/puppet/provider/user/useradd.rb
@@ -31,7 +31,7 @@ Puppet::Type.type(:user).provide :useradd, :parent => Puppet::Provider::NameServ
         cmd = []
         if @resource.managehome?
             cmd << "-m"
-        elsif %w{Fedora RedHat}.include?(Facter.value("operatingsystem"))
+        elsif %w{Fedora RedHat CentOS OEL OVS}.include?(Facter.value("operatingsystem"))
             cmd << "-M"
         end
         cmd

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list