Defined Type: thanos::config::tracing
- Defined in:
- manifests/config/tracing.pp
Summary
Manage Tracing configuration file.Overview
Manage Tracing configuration file
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'manifests/config/tracing.pp', line 18
define thanos::config::tracing (
Enum['present', 'absent'] $ensure,
Thanos::Tracing_type $type,
Hash[String, Data] $config,
) {
$_ensure = $ensure ? {
'present' => 'file',
default => 'absent'
}
$configs = {
type => $type,
config => $config,
}
file { $title:
ensure => $_ensure,
content => $configs.to_yaml(),
}
}
|