From 756994efed44d288b9ac0a11e35915cb4fb6117e Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Mon, 3 Dec 2012 02:19:17 +0200 Subject: [PATCH] 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. --- munin/manifests/init.pp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/munin/manifests/init.pp b/munin/manifests/init.pp index 9187618..b760e1f 100644 --- a/munin/manifests/init.pp +++ b/munin/manifests/init.pp @@ -44,21 +44,6 @@ class munin::node { 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": ensure => present, content => $::ec2_public_ipv4 ? {