This is the pwgen module.
include pwgen
$password = $fqdn ? {
# Length 20
'myhost1.example.com' => pwgen(20)',
# Default length, 8
default => pwgen(),
}
Note that on every run the password will change.
Manage pwgen
This is the pwgen module.
include pwgen
$password = $fqdn ? {
# Length 20
'myhost1.example.com' => pwgen(20)',
# Default length, 8
default => pwgen(),
}
Note that on every run the password will change.
Manage pwgen