Puppet Class: st2::stanley
- Defined in:
- manifests/stanley.pp
Summary
Installs the default admin user for st2 (stanley).Overview
Note:
Will install auto-generate SSH keys of none are provided.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'manifests/stanley.pp', line 28
class st2::stanley (
$username = 'stanley',
$ssh_public_key = undef,
$ssh_key_type = undef,
$ssh_private_key = undef,
$client = true,
$server = true,
) {
st2::user { $username:
client => $client,
server => $server,
create_sudo_entry => true,
groups => 'st2packs',
ssh_public_key => $ssh_public_key,
ssh_key_type => $ssh_key_type,
ssh_private_key => $ssh_private_key,
}
}
|