From: Silvio Rhatto Date: Tue, 16 Mar 2010 00:23:17 +0000 (-0300) Subject: Allowing nodes to specify $sshd_listen_address X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f20ec92622033f62ff044242b66773d15608f930;p=puppet-nodo.git Allowing nodes to specify $sshd_listen_address --- 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":