Fixed SELinux contexts from munin cache directory.

This commit is contained in:
Timo Mkinen 2012-10-15 10:53:17 +03:00
parent a653a663e2
commit e6ea145e3b

View file

@ -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":