Added seltype for http log directories
This commit is contained in:
parent
946faaf085
commit
42360e66e8
1 changed files with 6 additions and 5 deletions
|
@ -74,11 +74,12 @@ define apache::redhat::site($aliases, $root, $redirect) {
|
|||
}
|
||||
|
||||
file { "/srv/www/log/http/${site_fqdn}":
|
||||
ensure => directory,
|
||||
mode => "0755",
|
||||
owner => root,
|
||||
group => root,
|
||||
before => File[$site_conf],
|
||||
ensure => directory,
|
||||
mode => "0755",
|
||||
owner => "root",
|
||||
group => "root",
|
||||
seltype => "httpd_log_t",
|
||||
before => File[$site_conf],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue