]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Allowing nodes to specify $sshd_listen_address
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 16 Mar 2010 00:23:17 +0000 (21:23 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 16 Mar 2010 00:23:17 +0000 (21:23 -0300)
manifests/init.pp

index 2cfc2da5f1ac281df3f1be9bf583a5cc0e61cee3..fc50a5ff61934f7ba37951d433458a9608222ac6 100644 (file)
@@ -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":