add main module order

This commit is contained in:
Arne Teuke
2025-02-24 12:02:24 +01:00
parent e88d926ee1
commit d6c8a035a6
6 changed files with 55 additions and 3 deletions

23
manifests/main/dirs.pp Normal file
View File

@@ -0,0 +1,23 @@
Module name: cd_alloy
# 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,
}
}