Fixed selinux context from apache datadir.
This commit is contained in:
parent
a87056fb4c
commit
311df93f08
1 changed files with 5 additions and 4 deletions
|
@ -22,10 +22,11 @@ class apache::common {
|
|||
|
||||
if $apache_datadir {
|
||||
file { "${apache_datadir}":
|
||||
ensure => directory,
|
||||
mode => 0755,
|
||||
owner => root,
|
||||
group => root,
|
||||
ensure => directory,
|
||||
mode => 0755,
|
||||
owner => "root",
|
||||
group => "root",
|
||||
seltype => "httpd_sys_content_t",
|
||||
}
|
||||
|
||||
file { "/srv/www":
|
||||
|
|
Loading…
Add table
Reference in a new issue