So, this fixes the problem on non-AIX platforms.  What changes now on
AIX where we *don't* have a default value for that parameter?

I worry that we are working around a known bug (inapplicable
parameters with defaults cause warnings) by changing behaviour on AIX,
which I understand poorly enough to be worried that this isn't safe.

Daniel

On Mon, Apr 25, 2011 at 13:59, Max Martin <[email protected]> wrote:
> 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 <[email protected]>
> Signed-off-by: Max Martin <[email protected]>
> ---
> Local-branch: ticket/2.7.x/7137-spurious-warnings
>  lib/puppet/type/user.rb |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
>
> 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
> --
> 1.7.4
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Developers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/puppet-dev?hl=en.
>
>



-- 
⎋ Puppet Labs Developer – http://puppetlabs.com
✉ Daniel Pittman <[email protected]>
✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775
♲ Made with 100 percent post-consumer electrons

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to