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 64d4f6f..1fe2b14 100644
--- a/manifests/client/base.pp
+++ b/manifests/client/base.pp
@@ -4,5 +4,8 @@ class sshd::client::base {
}
# Now collect all server keys
- Sshkey <<||>>
+ case $sshd_shared_ip {
+ no: { Sshkey <<||>> }
+ yes: { Sshkey <<| tag == "fqdn" |>> }
+ }
}