Skip to content

Commit

Permalink
Added acpi plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
stahnma committed Sep 25, 2011
1 parent 57321ca commit 0902cf7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 11 additions & 1 deletion munin/manifests/node.pp
Expand Up @@ -17,7 +17,7 @@
service { "munin-node":
enable => true,
ensure => running,
require => Package['munin-node'],
require => [ Package['munin-node'], File['acpi-plugin'] ] ,
}

if $has_yum == "true" {
Expand Down Expand Up @@ -45,5 +45,15 @@
mode => 0644,
content => template('munin/munin-node.conf.erb'),
}

file { "acpi-plugin":
path => '/etc/munin/plugins/acpi',
ensure => '/usr/share/munin/plugins/acpi',
require => Package['munin-node'],
owner => 'root',
group => 'root',
mode => '777',
}

}

1 change: 1 addition & 0 deletions munin/manifests/sensor.pp
Expand Up @@ -18,4 +18,5 @@
ensure => running,
require => Package[$nm],
}

}

0 comments on commit 0902cf7

Please sign in to comment.