linting the project

This commit is contained in:
Arne Teuke
2025-03-02 13:15:07 +01:00
parent 74b0684ae1
commit 95848273ba
10 changed files with 24 additions and 166 deletions

View File

@@ -6,23 +6,21 @@
class cd_alloy::main::files (
) inherits cd_alloy::params {
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'),
notify => Service[$ay_service],
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'),
notify => Service[$ay_service],
}
}