summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorandreas <andreas@immerda.ch>2007-12-07 12:19:20 +0000
committerandreas <andreas@immerda.ch>2007-12-07 12:19:20 +0000
commit5f56be8e3cbab53f8ee71bbb7b16d6127006b049 (patch)
treef7fbd86f97e7860f4bf13b7007d9871a8d9b2ff0 /manifests
parent3d06fbf56e3f1acff944363b2e2b052fe3d4b9e5 (diff)
case durfte dort nicht stehen
Diffstat (limited to 'manifests')
-rw-r--r--manifests/plugin.pp19
1 files changed, 11 insertions, 8 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp
index 5649b29..971f076 100644
--- a/manifests/plugin.pp
+++ b/manifests/plugin.pp
@@ -38,15 +38,18 @@ define munin::plugin (
}
default: {
debug ( "munin_plugin: making $plugin using src: $plugin_src" )
- file { $plugin:
- ensure => "$script_path/${plugin_src}",
- require => Package[$munin_node_package],
- case $operatingsystem {
- centos: {
- # do nothing
+ case $operatingsystem {
+ centos: {
+ file { $plugin:
+ ensure => "$script_path/${plugin_src}",
+ require => Package[$munin_node_package];
}
- default: {
- notify => Service[$munin_node_service],
+ }
+ default: {
+ file { $plugin:
+ ensure => "$script_path/${plugin_src}",
+ require => Package[$munin_node_package],
+ notify => Service[$munin_node_service];
}
}
}