aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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":