aboutsummaryrefslogtreecommitdiff
path: root/manifests/client/base.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/client/base.pp')
-rw-r--r--manifests/client/base.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/client/base.pp b/manifests/client/base.pp
index 33d9f9e..7329f55 100644
--- a/manifests/client/base.pp
+++ b/manifests/client/base.pp
@@ -5,5 +5,8 @@ class sshd::client::base {
}
# Now collect all server keys
- Sshkey <<||>>
+ case $sshd_shared_ip {
+ no: { Sshkey <<||>> }
+ yes: { Sshkey <<| tag == "fqdn" |>> }
+ }
}