Puppet Class: thanos::config
- Defined in:
- manifests/config.pp
Summary
This class manages configuration filesOverview
This class install and manage configuration files like object store and tracing.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'manifests/config.pp', line 31
class thanos::config (
Boolean $manage_storage_config = $thanos::manage_storage_config,
Optional[Stdlib::Absolutepath] $storage_config_file = $thanos::storage_config_file,
Hash[String, Data] $storage_config = $thanos::storage_config,
Boolean $manage_tracing_config = $thanos::manage_tracing_config,
Optional[Stdlib::Absolutepath] $tracing_config_file = $thanos::tracing_config_file,
Hash[String, Data] $tracing_config = $thanos::tracing_config,
Boolean $manage_index_cache_config = $thanos::manage_index_cache_config,
Optional[Stdlib::Absolutepath] $index_cache_config_file = $thanos::index_cache_config_file,
Hash[String, Data] $index_cache_config = $thanos::index_cache_config,
) {
assert_private()
if $manage_storage_config {
thanos::config::storage { $storage_config_file:
* => $storage_config,
}
}
if $manage_tracing_config {
thanos::config::tracing { $tracing_config_file:
* => $tracing_config,
}
}
if $manage_index_cache_config {
thanos::config::index_cache { $index_cache_config_file:
* => $index_cache_config,
}
}
}
|