hi, all Its a very common use-case to set common password for user/s on all nodes, i like to know if there is any Type or Function or Recipe available in puppet which support this case? I have tried following approach but it didn''t worked; I am reading the password (md5 hash) stored in a file called "/myuserpwd.file" Approach 1: ----------------- $password = generate(''/bin/cat'', ''./myuserpwd.file'') user {$username: ensure => present, password => $password, } when i run the client it gives following message; ''Provider useradd does not support features manages_passwords; not managing attribute password'' I have read this; http://reductivelabs.com/trac/puppet/wiki/PuppetRedHatCentos However, libshadow package (libshadow.so) is in /usr/local/libshadow directry. can anyone help me out please! -- M. Haris Farooque -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
> ''Provider useradd does not support features manages_passwords; not > managing attribute password'' > > I have read this; > http://reductivelabs.com/trac/puppet/wiki/PuppetRedHatCentos > > However, libshadow package (libshadow.so) is in /usr/local/libshadow > directry. > > can anyone help me out please!is ruby-shadow installed and loadable? http://www.raskas.be/blog/2007/09/10/managing-user-passwords-with-puppet-on-centos/ cheers pete -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Thanks for your response, No, I don''t have ruby shadow installed on the clients. but is there any other approach to set the password because if i installed the ruby shadow package then i have to rebuild the rpm and for some administrative reasons we have to avoid building this RPM again. Muhammad Haris Farooque On Thu, Jan 28, 2010 at 2:07 PM, Peter Meier <peter.meier@immerda.ch> wrote:> ''Provider useradd does not support features manages_passwords; not >> managing attribute password'' >> >> I have read this; >> http://reductivelabs.com/trac/puppet/wiki/PuppetRedHatCentos >> >> However, libshadow package (libshadow.so) is in /usr/local/libshadow >> directry. >> >> can anyone help me out please! >> > > is ruby-shadow installed and loadable? > > > http://www.raskas.be/blog/2007/09/10/managing-user-passwords-with-puppet-on-centos/ > > cheers pete > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
> No, I don''t have ruby shadow installed on the clients. > > but is there any other approach to set the password because if i installed > the ruby shadow package then i have to rebuild the rpm and for some > administrative reasons we have to avoid building this RPM again.not if you want to set the password using the resource. you can work around it using an exec (like you can for most resources, but shouldn''t). Building your own rpms is something you''re entering very fast using uptodate ruby projects. Puppet-people are doing a great job in keeping these dependencies down to minimum, however some things a hardly to knock out. cheers pete -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Maybe Matching Threads
- centos puppet user resource type - provider useradd does not support features manages_passwords
- invalid parameter password for type user
- Issue with user password again
- Cannot start a secondary Xserver with resolution 6480x3840
- File paths must be fully qualified