Skip to content

Commit 9576dfe

Browse files
author
Jakob Kartschall
authored
Merge branch 'master' into bump-version
2 parents 8caf539 + f8a3c2f commit 9576dfe

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

data/common.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ lookup_options:
88

99
promtail::bin_dir: '/usr/local/bin'
1010
promtail::service_ensure: 'running'
11+
promtail::service_enable: true
1112
promtail::version: 'v2.0.0'
1213

manifests/init.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
#
113113
class promtail (
114114
Enum['running', 'stopped'] $service_ensure,
115+
Boolean $service_enable,
115116
Hash $clients_config_hash,
116117
Hash $positions_config_hash,
117118
Hash $scrape_configs_hash,

manifests/service.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
service { 'promtail':
1515
ensure => $promtail::service_ensure,
16+
enable => $promtail::service_enable,
1617
require => Systemd::Unit_file['promtail.service'],
1718
}
1819
}

0 commit comments

Comments
 (0)