summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authoram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2007-12-04 19:41:28 +0000
committeram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2007-12-04 19:41:28 +0000
commita39eec70917c79ad36101390cac03c111235a454 (patch)
tree2dcbb47f5358559134e321dfa2eeeb72a7c8037f /manifests
parentdcdadb9a99917ab7214fcb57c64cab2047cd8fe3 (diff)
lokale installtion des puppetmasters, korrektur der probleme
git-svn-id: https://svn/ipuppet/trunk/modules/munin@195 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
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];
}
}