Skip to content

Commit

Permalink
Puppet 5 fix??
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjfisher committed Nov 18, 2019
1 parent 5e9bd12 commit ddc9d7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@
content => template('prometheus/prometheus.systemd.erb'),
notify => $notify,
}
if versioncmp($facts['puppetversion'],'6.1.0') < 0 {
Class['systemd::systemctl::daemon_reload'] -> Class['prometheus::run_service']
}
}
'sysv', 'redhat', 'debian', 'sles' : {
$content = $prometheus::server::init_style ? {
Expand Down

0 comments on commit ddc9d7b

Please sign in to comment.