diff --git a/site-modules/profile/manifests/platform/baseline/debian/ssh.pp b/site-modules/profile/manifests/platform/baseline/debian/ssh.pp index a3d71b5d..860c24b4 100644 --- a/site-modules/profile/manifests/platform/baseline/debian/ssh.pp +++ b/site-modules/profile/manifests/platform/baseline/debian/ssh.pp @@ -1,11 +1,16 @@ # @summary ssh client and server config # -class profile::platform::baseline::debian::ssh { +# @param collect_keys +# Set storeconfigs_enabled to collect and distribute keys +# +class profile::platform::baseline::debian::ssh ( + Boolean $collect_keys = true, +) { # The values below have been set for an Ubuntu 20.04 distribution # Values may need to be changed for different versions class { 'ssh': - storeconfigs_enabled => true, + storeconfigs_enabled => $collect_keys, client_options => { 'PasswordAuthentication' => 'yes', 'PubkeyAuthentication' => 'yes',