Defined Type: confdroid_alloy::log_targets
- Defined in:
- manifests/log_targets.pp
Summary
Adds log file targets to the Alloy configuration.Overview
confdroid_alloy::log_targets.pp Module name: confdroid_alloy
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'manifests/log_targets.pp', line 6
define confdroid_alloy::log_targets (
Array[String] $targets = [],
) {
if $confdroid_alloy::params::ay_manage_loki == true and $targets != [] {
$log_targets_array = $targets
concat::fragment { "log_targets_${name}":
target => $confdroid_alloy::params::ay_main_file,
content => template('confdroid_alloy/log_targets.alloy.erb'),
order => '020',
}
}
}
|