add some ps_ munin plugins
[mirror/dsa-puppet.git] / modules / munin-node / manifests / init.pp
index 699f4cf..034e821 100644 (file)
@@ -1,8 +1,8 @@
-define activate_munin_check($ensure=present) {
+define activate_munin_check($ensure=present, script=$name) {
     case $ensure {
         present: {
             file { "/etc/munin/plugins/$name":
-                     ensure => "/usr/share/munin/plugins/$name",
+                     ensure => "/usr/share/munin/plugins/$script",
                      notify => Exec["munin-node restart"];
             }
         }