diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 1549a00..e749770 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -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':