From f20ec92622033f62ff044242b66773d15608f930 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 15 Mar 2010 21:23:17 -0300 Subject: Allowing nodes to specify $sshd_listen_address --- manifests/init.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'manifests/init.pp') 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": -- cgit v1.2.3