2025-02-24 12:15:52 +01:00
|
|
|
## cd_alloy::main::dirs.pp
|
2025-02-24 12:08:01 +01:00
|
|
|
# Module name: cd_alloy
|
2025-02-24 12:02:24 +01:00
|
|
|
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
|
|
|
|
# @summary Class manages required directories for the cd_alloy module
|
|
|
|
|
###############################################################################
|
|
|
|
|
class cd_alloy::main::dirs (
|
|
|
|
|
|
|
|
|
|
) inherits cd_alloy::params {
|
|
|
|
|
|
|
|
|
|
require cd_alloy::main::install
|
|
|
|
|
|
|
|
|
|
# main config dir
|
|
|
|
|
file { $ay_main_dir:
|
|
|
|
|
ensure => directory,
|
|
|
|
|
path => $ay_main_dir,
|
|
|
|
|
owner => 'root',
|
|
|
|
|
group => 'root',
|
|
|
|
|
mode => '0770',
|
|
|
|
|
selrange => s0,
|
|
|
|
|
selrole => object_r,
|
|
|
|
|
seltype => etc_t,
|
|
|
|
|
seluser => system_u,
|
|
|
|
|
}
|
|
|
|
|
}
|