finished directories
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user