Hi,
I've created a standalone recipe to configure my FreeBSD servers.
Everything is fine except the password I set for a specific user.
"...
$username = "admin"
$fullname = "bofh"
$password = "changeme"
class users {
@user { $username:
ensure => present,
comment => $fullname,
shell => "/usr/local/bin/bash",
home => "/home/${username}",
password => $password,
managehome => true,
groups => [ "wheel" ] }
realize User[$username]
}
..."
I've also tried this workaround i've found on interwebs but without any
result :/
"...
exec { "fix_passwd":
command => "/bin/echo ${password} | /usr/sbin/pw usermod
${username} -h 0",
refreshonly => true }
..."
any tip on this?
thanks in advance.
Cheers,
Francisco
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/WU9GMeiPQ3cJ.
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.