diff options
-rw-r--r-- | manifests/client/base.pp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/manifests/client/base.pp b/manifests/client/base.pp index 4925c2d..4091daf 100644 --- a/manifests/client/base.pp +++ b/manifests/client/base.pp @@ -8,8 +8,10 @@ class sshd::client::base { } # Now collect all server keys - case $sshd::client::shared_ip { - no: { Sshkey <<||>> } - yes: { Sshkey <<| tag == fqdn |>> } + if $::sshd::use_storedconfigs { + case $sshd::client::shared_ip { + no: { Sshkey <<||>> } + yes: { Sshkey <<| tag == fqdn |>> } + } } } |