Fixed SELinux contexts from munin html directory.
This commit is contained in:
parent
18ccc171c2
commit
9c39707a82
1 changed files with 7 additions and 0 deletions
|
@ -228,8 +228,15 @@ class munin::server {
|
|||
mode => 0755,
|
||||
owner => munin,
|
||||
group => munin,
|
||||
seltype => "httpd_munin_content_t",
|
||||
require => Package["munin"],
|
||||
}
|
||||
if "${selinux}" == "true" {
|
||||
selinux::manage_fcontext { "${munin_htmldir}(/.*)?":
|
||||
type => "httpd_munin_content_t",
|
||||
before => File[$munin_htmldir],
|
||||
}
|
||||
}
|
||||
|
||||
file { "/var/www/html/munin":
|
||||
ensure => "${munin_htmldir}",
|
||||
|
|
Loading…
Add table
Reference in a new issue