This is a simple Puppet module to provide a random password generator function.
mkpasswd can be added to a git repository using submodules: git submodule add [email protected]:alexmancini/puppet-mkpasswd.git modules/mkpasswd
mkpasswd can also be installed using librarian-puppet by adding this to your Puppetfile:
mod 'alexmancini/puppet-mkpasswd',
:git => 'https://github.com/alexmancini/puppet-mkpasswd.git',
:ref => '0.0.1'
Invoke mkpasswd()
to generate a random 32-character hex password.