From e6ea145e3ba8d99864e0dc5f3f8a71296b2a66e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Mon, 15 Oct 2012 10:53:17 +0300 Subject: [PATCH] Fixed SELinux contexts from munin cache directory. --- munin/manifests/init.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/munin/manifests/init.pp b/munin/manifests/init.pp index 7169237..2fff011 100644 --- a/munin/manifests/init.pp +++ b/munin/manifests/init.pp @@ -239,11 +239,11 @@ class munin::server { mode => "0775", owner => "munin", group => $apache::sslserver::group, - seltype => "httpd_munin_content_t", + seltype => "httpd_munin_rw_content_t", require => Package["munin"], } - selinux::manage_fcontext { "/var/cache/munin": - type => "munin_var_lib_t", + selinux::manage_fcontext { "/var/cache/munin(/.*)?": + type => "httpd_munin_rw_content_t", before => File["/var/cache/munin"], } mount { "/var/cache/munin":