Fixed SELinux contexts from munin cache directory.
This commit is contained in:
parent
a653a663e2
commit
e6ea145e3b
1 changed files with 3 additions and 3 deletions
|
@ -239,11 +239,11 @@ class munin::server {
|
||||||
mode => "0775",
|
mode => "0775",
|
||||||
owner => "munin",
|
owner => "munin",
|
||||||
group => $apache::sslserver::group,
|
group => $apache::sslserver::group,
|
||||||
seltype => "httpd_munin_content_t",
|
seltype => "httpd_munin_rw_content_t",
|
||||||
require => Package["munin"],
|
require => Package["munin"],
|
||||||
}
|
}
|
||||||
selinux::manage_fcontext { "/var/cache/munin":
|
selinux::manage_fcontext { "/var/cache/munin(/.*)?":
|
||||||
type => "munin_var_lib_t",
|
type => "httpd_munin_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