aboutsummaryrefslogtreecommitdiff
path: root/manifests/base
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-09-11 21:16:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-09-11 21:16:42 -0300
commit76ec4642be1a8bc64380c077a5890c4d0f4243e0 (patch)
treee31930271b7eefb3c3d693264e012e8ff45832ae /manifests/base
parent6509060a791daeeee13c40f9367489ac5e00880e (diff)
downloadpuppet-nodo-76ec4642be1a8bc64380c077a5890c4d0f4243e0.tar.gz
puppet-nodo-76ec4642be1a8bc64380c077a5890c4d0f4243e0.tar.bz2
Autoload definitions
Diffstat (limited to 'manifests/base')
-rw-r--r--manifests/base/host.pp2
-rw-r--r--manifests/base/plug.pp2
-rw-r--r--manifests/base/vserver.pp6
3 files changed, 5 insertions, 5 deletions
diff --git a/manifests/base/host.pp b/manifests/base/host.pp
index 799fe20..433364b 100644
--- a/manifests/base/host.pp
+++ b/manifests/base/host.pp
@@ -49,7 +49,7 @@ class nodo::base::host {
# Munin configuration
$munin = hiera('nodo::host::use_munin', True)
if $munin == true {
- munin_node { "$hostname":
+ nodo::subsystem::monitor::munin { "$hostname":
port => '4900',
}
}
diff --git a/manifests/base/plug.pp b/manifests/base/plug.pp
index eedd9fe..b71b648 100644
--- a/manifests/base/plug.pp
+++ b/manifests/base/plug.pp
@@ -20,7 +20,7 @@ class nodo::base::plug {
}
# Munin configuration
- munin_node { "${::hostname}":
+ nodo::subsystem::monitor::munin { "${::hostname}":
port => '4900',
}
}
diff --git a/manifests/base/vserver.pp b/manifests/base/vserver.pp
index 0a8b589..f904f32 100644
--- a/manifests/base/vserver.pp
+++ b/manifests/base/vserver.pp
@@ -16,13 +16,13 @@ class nodo::base::vserver {
"direct": {
# Apply munin and monkeysphere configuration for
# for directly hosted nodes.
- Munin_node <<| title == $::hostname |>>
- Monkeysphere_host <<| title == $::hostname |>>
+ Nodo::Subsystem::Monitor::Munin <<| title == $::hostname |>>
+ Nodo::Subsystem::Monkeysphere <<| title == $::hostname |>>
}
"third-party": {
# Apply munin and monkeysphere configuration for
# nodes hosted by third-parties.
- munin_node { "${::hostname}": }
+ nodo::subsystem::monitor::munin { "${::hostname}": }
monkeysphere_host { "${::hostname}":
port => hiera('nodo::vserver::ssh_port', '22'),
}