aboutsummaryrefslogtreecommitdiff
path: root/manifests/xen/munin
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-09-12 12:57:38 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-09-12 12:57:38 -0300
commit2cd029f433e377b1d629cdaf7146b7e90546df33 (patch)
tree8597639cc4d6295ddc2290dd043880c3cd492444 /manifests/xen/munin
parentc2e477d0a8667bc3a983105421d5c048faa31661 (diff)
downloadpuppet-virtual-2cd029f433e377b1d629cdaf7146b7e90546df33.tar.gz
puppet-virtual-2cd029f433e377b1d629cdaf7146b7e90546df33.tar.bz2
Puppet autoload support
This commit move stuff around and rename classes and definitions so we can benefit from puppet autoloading.
Diffstat (limited to 'manifests/xen/munin')
-rw-r--r--manifests/xen/munin/plugins.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/manifests/xen/munin/plugins.pp b/manifests/xen/munin/plugins.pp
new file mode 100644
index 0000000..00982ce
--- /dev/null
+++ b/manifests/xen/munin/plugins.pp
@@ -0,0 +1,15 @@
+class virtual::xen::munin::plugins {
+ munin::remoteplugin {
+ xen-multi:
+ source => "puppet:///modules/virtual/munin/xen_mem",
+ config => "user root",
+ ensure => absent;
+ xen_vm:
+ source => "puppet:///modules/virtual/munin/xen_vm",
+ config => "user root",
+ ensure => absent;
+ 'xen-multi':
+ source => 'puppet:///modules/virtual/munin/xen-multi',
+ config => 'user root';
+ }
+}