add configuration and service

This commit is contained in:
Arne Teuke
2025-02-24 13:24:45 +01:00
parent e3e349e6a8
commit 2374fc6137
4 changed files with 60 additions and 6 deletions

View File

@@ -9,4 +9,19 @@ class cd_alloy::main::files (
require cd_alloy::main::dirs
# Ensure log_targets is always an array
$log_targets_array = Array($cd_alloy::params::ay_log_targets, true)
file { $ay_main_file:
ensure => file,
owner => 'root',
group => 'root',
mode => '0644',
selrange => s0,
selrole => object_r,
seltype => etc_t,
seluser => system_u,
content => template('cd_alloy/config.alloy.erb'),
}
}