Thanks John and Louis. That's what I was thinking as well. I went in a
slightly different direction - I check whether a package is installed and
then execute the package and file bits if not
Alex
On Saturday, February 1, 2014 8:23:25 AM UTC, Louis Coilliot wrote:
>
> Hello,
>
> for a an individ
I don't understand why the epoch_date fact doesn't work, why you cannot
use the user resource? If it is because the password is enforced, you can
use the user resource to create the user, and launch a chpasswd once
created to setup the initial password.
Regards.
P.N. just realized the emails wer
Hi Jose,
Thanks, I was able to set it via chpasswd.
init.pp
class accounts {
@accounts::system { 'demo':
comment => 'demo users',
}
exec { "demo":
command => 'echo "demo:123456" | chpasswd',
provider => 'shell',
}
}
Thanks, again.
Jyotir
O