Patrick Cable <[email protected]> writes:
> The specific error I get is:
> info: /User[root]: Provider useradd does not support features
> manages_passwords; not managing attribute password
>
> But, useradd definitely does support manages_passwords, because...
> well.. the same code works on a RHEL box. If I remove libruby-shadow
> on a RHEL box, I'd get the same error.
OK, that's probably your problem: it sounds like it's using
useradd. Force it to use user_add_role on solaris. Something like:
if $operatingsystem == "solaris" {
User { provider => "user_role_add" }
}
The useradd provider's support for manges_password is conditional
on Puppet.features.libshadow? being true, which in turn amounts to
whether ruby can 'require "shadow"' (try it in irb for giggles).
That it isn't using user_role_add somewhere despite
defaultfor :operatingsystem => :solaris
in user_role_add.rb is probably a puppet bug.
_______________________________________________
bblisa mailing list
[email protected]
http://www.bblisa.org/mailman/listinfo/bblisa