finished directories

This commit is contained in:
Arne Teuke
2017-06-19 16:24:25 +01:00
parent 84fc5905c1
commit 9b09518580
2 changed files with 29 additions and 0 deletions

View File

@@ -62,6 +62,8 @@ $ae_usr_mods_dir = "${ae_usr_lib_dir}/modules"
$ae_mods_dir = "${ae_main_dir}/modules"
$ae_run_dir = '/run/httpd'
$ae_run_link = "${ae_main_dir}/run"
$ae_share_httpd = '/usr/share/httpd'
$ae_cache_httpd = '/var/cache/httpd'

View File

@@ -187,5 +187,32 @@ class cd_apache::server::dirs (
seluser => system_u,
}
# /usr/share/httpd dir
file { $ae_share_httpd:
ensure => directory,
path => $ae_share_httpd,
owner => 'root',
group => 'root',
mode => '0755',
selrange => s0,
selrole => object_r,
seltype => usr_t,
seluser => system_u,
}
# /var/cache/httpd
file { $ae_cache_httpd:
ensure => directory,
path => $ae_cache_httpd,
owner => $ae_user_name,
group => $ae_user_name,
mode => '0700',
selrange => s0,
selrole => object_r,
seltype => httpd_cache_t,
seluser => system_u,
}
}
}