]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Fixing monkeysphere configuration for nodo::plug
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 13 Sep 2011 12:13:19 +0000 (09:13 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 13 Sep 2011 12:13:19 +0000 (09:13 -0300)
manifests/plug.pp

index efe4eb3ca1e95364d350ee67f62f012530728ff9..e7f53de4766d1fa88f11aec9d205e1c3e76725e1 100644 (file)
@@ -11,7 +11,12 @@ class nodo::plug inherits nodo {
   }
 
   # Monkeysphere configuration
-  monkeysphere_host { "$hostname": }
+  monkeysphere_host { "$hostname":
+    port => $monkeysphere_ssh_port ? {
+      false   => '',
+      default => $monkeysphere_ssh_port,
+    }
+  }
 
   # DNS resolver
   $resolvconf_domain = "$domain"