Check if the output of your script actually matches *exactly* the hash that
gets written into the user. Whitespace, even a new line at the end, might
confuse puppet here. If that's the problem, use
https://forge.puppet.com/puppetlabs/stdlib#strip to fix that.
Cheers, DavidS
On Thu, Oct 18, 2018 a
I have been asked to set password for a user so it is unique on every
single host we support. I have a script that generates the password and I
had pulled it in via a generate call. The scripts takes in two of facter
values to be used to aid in generating the password.
$myvar = generate("/bin/