Removed resource for munin-node's plugin-state dir

This was added due to incorrect permissions in EPEL packages, should be
fixed now. PITA to manage due to different paths in different Ubuntu
releases.
This commit is contained in:
Ossi Salmi 2012-12-03 02:19:17 +02:00
parent 64c0dac99c
commit 756994efed

View file

@ -44,21 +44,6 @@ class munin::node {
notify => Exec["munin-node-configure"], notify => Exec["munin-node-configure"],
} }
if $kernel == "Linux" {
file { "/var/lib/munin/plugin-state":
ensure => directory,
name => $::operatingsystem ? {
"ubuntu" => "/var/lib/munin-node/plugin-state",
default => "/var/lib/munin/plugin-state",
},
mode => "0775",
owner => "root",
group => "munin",
before => Service["munin-node"],
require => Package["munin-node"],
}
}
@@file { "/etc/munin/conf.d/${homename}.conf": @@file { "/etc/munin/conf.d/${homename}.conf":
ensure => present, ensure => present,
content => $::ec2_public_ipv4 ? { content => $::ec2_public_ipv4 ? {