Added seltype for http log directories

This commit is contained in:
Ossi Salmi 2013-02-02 21:55:18 +02:00
parent 946faaf085
commit 42360e66e8

View file

@ -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],
} }
} }
} }