aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-03-15 21:23:17 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-03-15 21:23:17 -0300
commitf20ec92622033f62ff044242b66773d15608f930 (patch)
treed81f8b149733b0f456afb570aa334a89e3d7b25f /manifests
parenta8fbfd6a3c90fe29a6cc87de300f0646962cab84 (diff)
downloadpuppet-nodo-f20ec92622033f62ff044242b66773d15608f930.tar.gz
puppet-nodo-f20ec92622033f62ff044242b66773d15608f930.tar.bz2
Allowing nodes to specify $sshd_listen_address
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 2cfc2da..fc50a5f 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -137,7 +137,9 @@ class nodo::physical inherits nodo {
# We need to restrict listen address so multiple instances
# can live together in the same physical host.
#
- $sshd_listen_address = [ "$ipaddress" ]
+ case $sshd_listen_address {
+ '': { $sshd_listen_address = [ "$ipaddress" ] }
+ }
include sshd
backupninja::sys { "sys":