aboutsummaryrefslogtreecommitdiff
path: root/manifests/client/base.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-12-27 14:23:51 -0200
committerSilvio Rhatto <rhatto@riseup.net>2009-12-27 14:23:51 -0200
commit1fd1d896a024a860bef7fa6c3b622df71e4a8017 (patch)
tree991f319088aa1a4e9e951be5beb6b1e933a6d28b /manifests/client/base.pp
parentbbc03d2c1069d42ea96101c54186e034b3a06f9b (diff)
downloadpuppet-sshd-1fd1d896a024a860bef7fa6c3b622df71e4a8017.tar.gz
puppet-sshd-1fd1d896a024a860bef7fa6c3b622df71e4a8017.tar.bz2
Introducing sshd_internal_ip variable
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..b1dc99d 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_internal_ip {
+ no: { Sshkey <<||>> }
+ yes: { Sshkey <<| tag == "fqdn" |>> }
+ }
}