Fixed SELinux context from munin cache directory for use with munin cgi scripts.
This commit is contained in:
parent
f7298b5671
commit
6bacdd65ee
1 changed files with 2 additions and 2 deletions
|
@ -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":
|
||||||
|
|
Loading…
Add table
Reference in a new issue