Recommit for updates in build 16
This commit is contained in:
@@ -119,7 +119,7 @@ class confdroid_prometheus::main::config (
|
||||
) inherits confdroid_prometheus::params {
|
||||
include confdroid_prometheus::main::service
|
||||
|
||||
exec { 'systemd-daemon-reload':
|
||||
exec { 'ps-systemd-daemon-reload':
|
||||
command => '/bin/systemctl daemon-reload',
|
||||
path => ['/bin', '/usr/bin'],
|
||||
refreshonly => true,
|
||||
|
||||
@@ -218,7 +218,7 @@
|
||||
|
||||
class confdroid_prometheus::main::files (
|
||||
) inherits confdroid_prometheus::params {
|
||||
if ($ps_prom_host == $fqdn) and ($manage_prometheus == true) {
|
||||
if ($ps_prom_host == $fqdn) and ($manage_prometheus == true) {
|
||||
require confdroid_prometheus::main::dirs
|
||||
file { $ps_main_file:
|
||||
ensure => file,
|
||||
@@ -315,14 +315,14 @@ class confdroid_prometheus::main::files (
|
||||
if $ps_enable_pruning == false {
|
||||
file { $ps_pruning_file:
|
||||
ensure => absent,
|
||||
notify => Exec['systemd-daemon-reload'],
|
||||
notify => Exec['ps-systemd-daemon-reload'],
|
||||
}
|
||||
file { $ps_env_file:
|
||||
ensure => absent,
|
||||
ensure => absent,
|
||||
}
|
||||
file { $ps_pruning_svc_file:
|
||||
ensure => absent,
|
||||
notify => Exec['systemd-daemon-reload'],
|
||||
notify => Exec['ps-systemd-daemon-reload'],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user