munin: Fixed SELinux contexts plugin-state directory on munin server.

This commit is contained in:
Timo Mkinen 2013-06-28 10:02:18 +03:00
parent d209999c7f
commit 2e430b6d02

View file

@ -261,6 +261,10 @@ class munin::server {
type => "munin_var_lib_t", type => "munin_var_lib_t",
before => File[$munin_datadir], before => File[$munin_datadir],
} }
selinux::manage_fcontext { "${munin_datadir}/plugin-state(/.*)?":
type => "munin_plugin_state_t",
before => File[$munin_datadir],
}
file { "/var/lib/munin": file { "/var/lib/munin":
ensure => $munin_datadir, ensure => $munin_datadir,