Add authorized keys

This commit is contained in:
Magnus Andersson 2024-05-27 22:34:42 +02:00
parent f8e6ba97ac
commit 72e0294d5e
Signed by: mandersson
GPG key ID: 19CB2C58E1F19B16

View file

@ -21,6 +21,11 @@ node default {
}
$ssh_authorized_keys = hiera_hash('ssh_authorized_keys', undef)
if is_hash($ssh_authorized_keys) {
create_resources('ssh_authorized_key', $ssh_authorized_keys)
}
# edit and uncomment to manage ssh root keys in a simple way
#class { 'cosmos::access':