# uname -a Linux db-node2 3.2.0-55-generic #85-Ubuntu SMP Wed Oct 2 12:29:27 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/issue Ubuntu 12.04.3 LTS \n \l # puppet -V 3.3.2 # cat /etc/passwd |grep ^testuser testuser:x:1002:1002::/home/testuser:/bin/sh # cat /etc/shadow |grep ^testuser testuser:$6$.JNdUYPK$KUcfD3urk5290LvluOE.wnCKoEibMqd2.uiT/X0ezS29JaXfk4T9K57ea/6mSU7Z/8ppi8IiNNV7bkVYc5p0s0:16036:0:99999:7::: # puppet apply -e 'user { "testuser": password => "*" }' Notice: Compiled catalog for db-node2.site in environment production in 0.07 seconds Notice: Finished catalog run in 0.08 seconds # cat /etc/shadow |grep ^testuser testuser:$6$.JNdUYPK$KUcfD3urk5290LvluOE.wnCKoEibMqd2.uiT/X0ezS29JaXfk4T9K57ea/6mSU7Z/8ppi8IiNNV7bkVYc5p0s0:16036:0:99999:7::: -- Best regards, Sergey Arlashin On Nov 27, 2013, at 2:32 PM, Felix Frank <felix.fr...@alumni.tu-berlin.de> wrote: > Hi, > > no, it's not. What version of puppet are you using? > > To make sure there is nothing funny going on with your overall manifest > structure, can you try this as root on the agent machine: > > puppet apply -e 'user { "username": password => "*" }' > > For me, this yields > > Notice: /User[username]/password: changed password > Notice: Finished catalog run in 0.53 seconds > > This is puppet 3.3.1. > > TIA, > Felix > > On 11/26/2013 04:36 PM, Sergey Arlashin wrote: >> Hi! >> >> I'm trying to set password for a user. >> >> I do the following: >> >> user { "username": >> password => '*', >> } >> >> And when I run puppet agent nothing happens. The password remains the same. >> But if I create a new user which doesn't exist yet, the password is set >> without any problems. >> >> Is this a normal behaviour of 'user' type? > > -- > 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/5295CA2A.1050102%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/2689FC78-CD82-4ECF-A3F4-8B66DD2667ED%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out.