Puppet Class: promtail
- Defined in:
- manifests/init.pp
Summary
promtail's main interface. All interactions should be with this class.Overview
promtail’s main interface. All interactions should be with this class. The promtail module is intended to install and configure Grafana’s promtail tool for shipping logs to Loki.
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'manifests/init.pp', line 113
class promtail (
Enum['running', 'stopped'] $service_ensure,
Hash $clients_config_hash,
Hash $positions_config_hash,
Hash $scrape_configs_hash,
Stdlib::Absolutepath $bin_dir,
String[1] $checksum,
String[1] $version,
Optional[Hash] $server_config_hash = undef,
Optional[Hash] $target_config_hash = undef,
Optional[Stdlib::Absolutepath] $password_file_path = undef,
Optional[Sensitive[String[1]]] $password_file_content = undef,
){
Class['promtail::install']
-> Class['promtail::config']
-> Class['promtail::service']
contain promtail::install
contain promtail::config
contain promtail::service
}
|