Re: [Puppet Users] Using variable for user password hash causes password updated each run.

2018-10-19 Thread David Schmitt
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

[Puppet Users] Using variable for user password hash causes password updated each run.

2018-10-18 Thread James Perry
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/