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}":
|
file { "/srv/www/log/http/${site_fqdn}":
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
mode => "0755",
|
mode => "0755",
|
||||||
owner => root,
|
owner => "root",
|
||||||
group => root,
|
group => "root",
|
||||||
before => File[$site_conf],
|
seltype => "httpd_log_t",
|
||||||
|
before => File[$site_conf],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue