munin: Fixed SELinux contexts plugin-state directory on munin server.
This commit is contained in:
parent
d209999c7f
commit
2e430b6d02
1 changed files with 4 additions and 0 deletions
|
@ -261,6 +261,10 @@ class munin::server {
|
|||
type => "munin_var_lib_t",
|
||||
before => File[$munin_datadir],
|
||||
}
|
||||
selinux::manage_fcontext { "${munin_datadir}/plugin-state(/.*)?":
|
||||
type => "munin_plugin_state_t",
|
||||
before => File[$munin_datadir],
|
||||
}
|
||||
|
||||
file { "/var/lib/munin":
|
||||
ensure => $munin_datadir,
|
||||
|
|
Loading…
Add table
Reference in a new issue