aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"