summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authoram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2007-12-07 12:19:20 +0000
committeram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2007-12-07 12:19:20 +0000
commit6b05503cb59df561423995787a8f31b3ea75b5e8 (patch)
treef7fbd86f97e7860f4bf13b7007d9871a8d9b2ff0 /manifests
parente88e44ca8b8732abdd922562f7ed87aaa5ee860c (diff)
case durfte dort nicht stehen
git-svn-id: https://svn/ipuppet/trunk/modules/munin@216 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
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];
}
}
}