|
111 | 111 | # }
|
112 | 112 | #
|
113 | 113 | class promtail (
|
114 |
| - Enum['running', 'stopped'] $service_ensure, |
115 |
| - Hash $clients_config_hash, |
116 |
| - Hash $positions_config_hash, |
117 |
| - Hash $scrape_configs_hash, |
118 |
| - Stdlib::Absolutepath $bin_dir, |
119 |
| - String[1] $checksum, |
120 |
| - String[1] $version, |
121 |
| - Optional[Hash] $server_config_hash = undef, |
122 |
| - Optional[Hash] $target_config_hash = undef, |
123 |
| - Optional[Stdlib::Absolutepath] $password_file_path = undef, |
| 114 | + Enum['running', 'stopped'] $service_ensure, |
| 115 | + Hash $clients_config_hash, |
| 116 | + Hash $positions_config_hash, |
| 117 | + Hash $scrape_configs_hash, |
| 118 | + Stdlib::Absolutepath $bin_dir, |
| 119 | + String[1] $checksum, |
| 120 | + String[1] $version, |
| 121 | + Optional[Hash] $server_config_hash = undef, |
| 122 | + Optional[Hash] $target_config_hash = undef, |
| 123 | + Optional[Stdlib::Absolutepath] $password_file_path = undef, |
124 | 124 | Optional[Sensitive[String[1]]] $password_file_content = undef,
|
| 125 | + Stdlib::HTTPUrl $source_url = 'https://github.com/grafana/loki/releases/download', |
125 | 126 | ){
|
126 | 127 | Class['promtail::install']
|
127 | 128 | -> Class['promtail::config']
|
|
0 commit comments