OP#647 initial commit after fork

This commit is contained in:
2026-07-21 13:25:48 +02:00
parent fd638a276f
commit a1d70fb4ab
12 changed files with 128 additions and 87 deletions

View File

@@ -1,15 +1,15 @@
## alloy_cd::main::files.pp
# Module name: alloy_cd
# Author: Arne Teuke (arne_teuke@confdroid.com)
# @summary Class manages required config files for the alloy_cd module
## confdroid_alloy::main::files.pp
# Module name: confdroid_alloy
# Author: 12ww1160 (12ww1160@confdroid.com)
# @summary Class manages required config files for the confdroid_alloy module
###############################################################################
class alloy_cd::main::files (
class confdroid_alloy::main::files (
) inherits alloy_cd::params {
require alloy_cd::main::dirs
) inherits confdroid_alloy::params {
require confdroid_alloy::main::dirs
# Ensure log_targets is always an array
$log_targets_array = Array($alloy_cd::params::ay_log_targets, true)
$log_targets_array = Array($confdroid_alloy::params::ay_log_targets, true)
file { $ay_main_file:
ensure => file,
@@ -20,7 +20,7 @@ class alloy_cd::main::files (
selrole => object_r,
seltype => etc_t,
seluser => system_u,
content => template('alloy_cd/config.alloy.erb'),
content => template('confdroid_alloy/config.alloy.erb'),
notify => Service[$ay_service],
}
@@ -34,7 +34,7 @@ class alloy_cd::main::files (
selrole => object_r,
seltype => etc_t,
seluser => system_u,
content => template('alloy_cd/logrotate.rsyslog.erb'),
content => template('confdroid_alloy/logrotate.rsyslog.erb'),
}
# manage log file group permissions