recommit for updates in build 8

This commit is contained in:
2018-04-20 11:41:16 +02:00
parent 646f3292b7
commit 58e6948571
3 changed files with 64 additions and 48 deletions

View File

@@ -313,23 +313,6 @@ class cd_apache::server::files (
notify => Service['httpd'],
}
# manage index.html
file { $ae_index_file:
ensure => file,
path => $ae_index_file,
owner => $ae_user_name,
group => $ae_user_name,
mode => '0644',
selrange => s0,
selrole => object_r,
seltype => httpd_sys_content_t,
seluser => system_u,
content => template($ae_index_erb),
notify => Service['httpd'],
}
if $ae_allow_user_dirs == true {
# manage userdir.conf
@@ -349,6 +332,23 @@ class cd_apache::server::files (
}
}
}
# manage index.html
file { $ae_index_file:
ensure => file,
path => $ae_index_file,
owner => $ae_user_name,
group => $ae_user_name,
mode => '0644',
selrange => s0,
selrole => object_r,
seltype => httpd_sys_content_t,
seluser => system_u,
content => template($ae_index_erb),
notify => Service['httpd'],
}
}</pre>
</td>
</tr>