aboutsummaryrefslogtreecommitdiff
path: root/manifests/physical.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-08-26 15:08:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-08-26 15:08:32 -0300
commit7bd9e7d7a34b9804f0cd1f22ecdd2d3212935bfb (patch)
treeace655a85dca3b8e3d35e84446b3fa314c88dd76 /manifests/physical.pp
parent411251e994645a9649117ed123013a21865f74cb (diff)
downloadpuppet-nodo-7bd9e7d7a34b9804f0cd1f22ecdd2d3212935bfb.tar.gz
puppet-nodo-7bd9e7d7a34b9804f0cd1f22ecdd2d3212935bfb.tar.bz2
Adding $munin_port and $monkeysphere_ssh_port
Diffstat (limited to 'manifests/physical.pp')
-rw-r--r--manifests/physical.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/physical.pp b/manifests/physical.pp
index 95f863d..657c7d2 100644
--- a/manifests/physical.pp
+++ b/manifests/physical.pp
@@ -49,7 +49,12 @@ class nodo::physical inherits nodo {
}
# Monkeysphere configuration
- monkeysphere_host { "$hostname": }
+ monkeysphere_host { "$hostname":
+ port => $monkeysphere_ssh_port ? {
+ false => '',
+ default => $monkeysphere_ssh_port,
+ }
+ }
# SMART monitoring
include munin::plugins::smart