Hi Andrei,
On 10.12.2012, at 09:22, Andrei-Florian Staicu wrote:
> Hi all,
>
> I started managing users with puppet (3). Right now it works ok, but I have
> to change the hash manually in the manifest files. I would like users to
> login to the puppet master and change the password for themselves. Could I do
> something like this?
> password => `grep $user /etc/shadow | awk -F ':' '{print $2}',
>
> Thanks.
You want to make use of a function:
http://docs.puppetlabs.com/references/latest/function.html
Functions get executed on the master.
hth,
Martin
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en.