Seems to be useradd issue..

Debug: /User[testuser]: Provider useradd does not support features 
manages_passwords; not managing attribute password

http://docs.puppetlabs.com/references/latest/type.html#user-provider-useradd:

"useradd
User management via useradd and its ilk. Note that you will need to install 
Ruby’s shadow password library (often known as ruby-libshadow) if you wish to 
manage user passwords."

So I installed libshadow and everything's working now! 

# puppet apply -e 'user { "testuser": password => "*" }'
Notice: Compiled catalog for db-node2.site in environment production in 0.08 
seconds
Notice: /User[testuser]/password: changed password
Notice: Finished catalog run in 0.13 seconds

Thank you!

--
Best regards,
Sergey Arlashin




On Nov 27, 2013, at 3:05 PM, Felix Frank <felix.fr...@alumni.tu-berlin.de> 
wrote:

> Hi,
> 
> no good then.
> 
> Please run again with an added -dv switch to puppet apply, and share the
> debug output.
> 
> Thanks in advance.
> 
> On 11/27/2013 12:02 PM, Sergey Arlashin wrote:
>> # puppet apply -e 'user { "testuser": password => 
>> "$6$MhRLkUTo$9RhLb3AfsO4HSxeHdLOLCPBj7LRH6vGOx1zPcvpfVRGOuJPczjEyaYoS3SyQ6MESctWarz2VDhD4ZT9wHe61v/"
>>  }'
>> Notice: Compiled catalog for db-node2.site in environment production in 0.07 
>> seconds
>> Notice: Finished catalog run in 0.06 seconds
>> 
>> Best regards,
>> Sergey Arlashin
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/5295D1DE.5030106%40alumni.tu-berlin.de.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CBD5BDE1-3EF8-4004-8552-D1D898161113%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to