On 27.06.2012 19:33, Nick Lewis wrote:
On Wednesday, June 27, 2012 at 9:57 AM, David Schmitt wrote:
Hi,
I just noticed that the useradd provider for the user type no longer
implements the "manages_passwords" feature. Using the Type
Reference[1][2][3][4], I was able to pinpoint that to the timeframe of the
2.7.1/2.6.9 releases, but the release notes[5] do not shed any light on
this. Due to local constraints I cannot trace it into the code.
Is this feature removal intentional?
Are you noticing this just in the type reference, or is it actually not
working for you?
It is actually not working for me. But read on below for my epiphany.
I checked the code, and it certainly seems to still be there. However,
it only adds manages_passwords if you have the shadow feature. The type
reference is autogenerated, so maybe the machine we generate the type
reference on had shadow and doesn't anymore. In any case, if the type
reference is wrong, that's something we should get straightened out.
Aha! This and the resulting discussion pointed me in the right direction
what's wrong with the machines I was looking at: they're missing
libshadow-ruby.
In regards to the discussion how to solve the problem of the missing "X"
in the documentation, I must say that just installing the required
dependencies to get as much "X" as possible cannot be the final
solution, as it doesn't tell the reader what she has to do to actually
activate the functionality.
In a related vein the "provider" meta-parameter should probably be
documented right next to the features table and not three pages down,
hidden in the list of other properties and parameters.
Best Regards, David
--
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.