We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddd87b0 commit f42e09cCopy full SHA for f42e09c
data/common.yaml
@@ -8,5 +8,6 @@ lookup_options:
8
9
promtail::bin_dir: '/usr/local/bin'
10
promtail::service_ensure: 'running'
11
+promtail::service_enable: true
12
promtail::version: 'v2.0.0'
13
manifests/init.pp
@@ -112,6 +112,7 @@
112
#
113
class promtail (
114
Enum['running', 'stopped'] $service_ensure,
115
+ Boolean $service_enable,
116
Hash $clients_config_hash,
117
Hash $positions_config_hash,
118
Hash $scrape_configs_hash,
manifests/service.pp
@@ -13,6 +13,7 @@
14
service { 'promtail':
15
ensure => $promtail::service_ensure,
16
+ enable => $promtail::service_enable,
17
require => Systemd::Unit_file['promtail.service'],
18
}
19
0 commit comments