summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorandreas <andreas@immerda.ch>2007-12-04 19:41:28 +0000
committerandreas <andreas@immerda.ch>2007-12-04 19:41:28 +0000
commit93744a7414ae71b6fd987c19162c183371b85179 (patch)
tree2dcbb47f5358559134e321dfa2eeeb72a7c8037f /manifests
parente3a2c2d16260bb939d22e5a3ed022c2d8d7c615b (diff)
lokale installtion des puppetmasters, korrektur der probleme
Diffstat (limited to 'manifests')
-rw-r--r--manifests/plugin.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp
index e361d69..ea31b32 100644
--- a/manifests/plugin.pp
+++ b/manifests/plugin.pp
@@ -8,8 +8,8 @@ define munin::plugin (
$config = '')
{
case $operatingsystem {
- debian: { $munin_node_service = "munin-node"; }
- gentoo: { $munin-node_service = "munin"; }
+ debian: { $munin_node_service = "munin-node" }
+ gentoo: { $munin_node_service = "munin" }
}
$plugin_src = $ensure ? { "present" => $name, default => $ensure }
debug ( "munin_plugin: name=$name, ensure=$ensure, script_path=$script_path" )
@@ -74,19 +74,19 @@ define munin::remoteplugin($ensure = "present", $source, $config = '') {
class munin::plugins::base-debian {
case $operatingsystem {
- gentoo: { $munin_node_service = "munin"; }
- debian: { $munin_node_service = "munin-node"; }
+ gentoo: { $munin_node_service = "munin" }
+ debian: { $munin_node_service = "munin-node" }
}
file {
[ "/etc/munin/plugins", "/etc/munin/plugin-conf.d" ]:
source => "puppet://$servername/munin/empty",
ensure => directory, checksum => mtime,
recurse => true, purge => true, force => true,
- mode => 0755, owner => root, group => root;
+ mode => 0755, owner => root, group => root,
notify => Service[$munin_node_service];
"/etc/munin/plugin-conf.d/munin-node":
ensure => present,
- mode => 0644, owner => root, group => root;
+ mode => 0644, owner => root, group => root,
notify => Service[$munin_node_service];
}
}