Skip to content

rgevaert/puppet-pwgen

Repository files navigation

pwgen puppet module

This is the pwgen module.

Build status

Build Status

Usage

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.