summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authoram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-02-08 11:38:14 +0000
committeram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-02-08 11:38:14 +0000
commit55054d004c779531512da86db4c9040eaa76cf3c (patch)
tree089ba9cab0ca9af3144030343c27389cf3e4d5f0 /manifests
parentd7db3dc055814e340bffe27592730299ce5cd198 (diff)
restliche plugins
git-svn-id: https://svn/ipuppet/trunk/modules/munin@788 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests')
-rw-r--r--manifests/plugin.pp16
1 files changed, 2 insertions, 14 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp
index dfd506f..0cd1cb5 100644
--- a/manifests/plugin.pp
+++ b/manifests/plugin.pp
@@ -163,26 +163,14 @@ class munin::plugins::vserver inherits munin::plugins::base {
}
class munin::plugins::gentoo inherits munin::plugins::base {
- file { "$script_path/gentoo_lastupdated":
- source => "puppet://$servername/munin/plugins/gentoo_lastupdated",
- ensure => file,
- mode => 0755, owner => root, group => 0;
- }
-
- plugin{"gentoo_lastupdated": ensure => present;}
+ munin::plugin::deploy { "gentoo_lastupdated": }
}
class munin::plugins::centos inherits munin::plugins::base {
}
class munin::plugins::selinux inherits munin::plugins::base {
- file { "$script_path/selinuxenforced":
- source => "puppet://$servername/munin/plugins/selinuxenforced",
- ensure => file,
- mode => 0755, owner => root, group => 0;
- }
-
- plugin{"selinuxenforced": ensure => present;}
+ munin::plugin::deploy { "selinuxenforced": }
}
define munin::plugin::deploy ($source = '', $enabled = 'true') {