[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

Max Martin max at puppetlabs.com
Tue May 10 08:18:11 UTC 2011


The following commit has been merged in the experimental branch:
commit 49c5152d64bb2d73a2751e9844bb2b92b14b88eb
Author: Max Martin <max at puppetlabs.com>
Date:   Mon Apr 25 13:44:48 2011 -0700

    (#7137) Get rid of spurious info messages in useradd
    
    Usage of the useradd provider was leading to spurious log messages of
    this form:
    
    info: /User[nigel]: Provider useradd does not support features
    manages_aix_lam; not managing attribute ia_load_module
    
    This was due to the ia_load_module parameter requiring manages_aix_lam
    and additionally having a defaultto value of "compat."
    
    Paired-with: Matt Robinson <matt at puppetlabs.com>

diff --git a/lib/puppet/type/user.rb b/lib/puppet/type/user.rb
index 7679593..572d579 100755
--- a/lib/puppet/type/user.rb
+++ b/lib/puppet/type/user.rb
@@ -451,8 +451,6 @@ module Puppet
 
     newparam(:ia_load_module, :required_features => :manages_aix_lam) do
       desc "The name of the I&A module to use to manage this user"
-
-      defaultto "compat"
     end
 
     newproperty(:attributes, :parent => Puppet::Property::KeyValue, :required_features => :manages_aix_lam) do

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list