Fixed SELinux context from munin cache directory for use with munin cgi scripts.

This commit is contained in:
Timo Mkinen 2013-02-06 10:31:46 +02:00
parent f7298b5671
commit 6bacdd65ee

View file

@ -244,11 +244,11 @@ class munin::server {
mode => "0775", mode => "0775",
owner => "munin", owner => "munin",
group => $apache::sslserver::group, group => $apache::sslserver::group,
seltype => "httpd_munin_rw_content_t", seltype => "httpd_sys_rw_content_t",
require => Package["munin"], require => Package["munin"],
} }
selinux::manage_fcontext { "/var/cache/munin(/.*)?": selinux::manage_fcontext { "/var/cache/munin(/.*)?":
type => "httpd_munin_rw_content_t", type => "httpd_sys_rw_content_t",
before => File["/var/cache/munin"], before => File["/var/cache/munin"],
} }
mount { "/var/cache/munin": mount { "/var/cache/munin":