aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-13 09:13:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-13 09:13:19 -0300
commitc37ef44f267075ec52b3e3ed0f236eed235ee863 (patch)
treebd458f1f01c13bfde3f16dc5117aeea7ec0614e8
parent2d3c7744ce63d7cccccda1abc6f27cac9a8e2a14 (diff)
downloadpuppet-nodo-c37ef44f267075ec52b3e3ed0f236eed235ee863.tar.gz
puppet-nodo-c37ef44f267075ec52b3e3ed0f236eed235ee863.tar.bz2
Fixing monkeysphere configuration for nodo::plug
-rw-r--r--manifests/plug.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/plug.pp b/manifests/plug.pp
index efe4eb3..e7f53de 100644
--- a/manifests/plug.pp
+++ b/manifests/plug.pp
@@ -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"