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 {
|
if $apache_datadir {
|
||||||
file { "${apache_datadir}":
|
file { "${apache_datadir}":
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
mode => 0755,
|
mode => 0755,
|
||||||
owner => root,
|
owner => "root",
|
||||||
group => root,
|
group => "root",
|
||||||
|
seltype => "httpd_sys_content_t",
|
||||||
}
|
}
|
||||||
|
|
||||||
file { "/srv/www":
|
file { "/srv/www":
|
||||||
|
|
Loading…
Add table
Reference in a new issue