add confdroid_prometheus
This commit is contained in:
@@ -77,7 +77,7 @@ class confdroid_prometheus::main::files (
|
|||||||
seltype => systemd_unit_file_t,
|
seltype => systemd_unit_file_t,
|
||||||
seluser => unconfined_u,
|
seluser => unconfined_u,
|
||||||
content => template('confdroid_prometheus/prometheus-prune-service.erb'),
|
content => template('confdroid_prometheus/prometheus-prune-service.erb'),
|
||||||
notify => Exec['systemd-daemon-reload'],
|
notify => Exec['ps-systemd-daemon-reload'],
|
||||||
}
|
}
|
||||||
file { $ps_pruning_timer_file:
|
file { $ps_pruning_timer_file:
|
||||||
ensure => file,
|
ensure => file,
|
||||||
@@ -89,7 +89,7 @@ class confdroid_prometheus::main::files (
|
|||||||
seltype => systemd_unit_file_t,
|
seltype => systemd_unit_file_t,
|
||||||
seluser => unconfined_u,
|
seluser => unconfined_u,
|
||||||
content => template('confdroid_prometheus/prometheus-prune-timer.erb'),
|
content => template('confdroid_prometheus/prometheus-prune-timer.erb'),
|
||||||
notify => Exec['systemd-daemon-reload'],
|
notify => Exec['ps-systemd-daemon-reload'],
|
||||||
}
|
}
|
||||||
file { $ps_prune_log_file:
|
file { $ps_prune_log_file:
|
||||||
ensure => file,
|
ensure => file,
|
||||||
@@ -102,14 +102,14 @@ class confdroid_prometheus::main::files (
|
|||||||
if $ps_enable_pruning == false {
|
if $ps_enable_pruning == false {
|
||||||
file { $ps_pruning_file:
|
file { $ps_pruning_file:
|
||||||
ensure => absent,
|
ensure => absent,
|
||||||
notify => Exec['ps-systemd-daemon-reload'],
|
notify => Exec['ps-ps-systemd-daemon-reload'],
|
||||||
}
|
}
|
||||||
file { $ps_env_file:
|
file { $ps_env_file:
|
||||||
ensure => absent,
|
ensure => absent,
|
||||||
}
|
}
|
||||||
file { $ps_pruning_svc_file:
|
file { $ps_pruning_svc_file:
|
||||||
ensure => absent,
|
ensure => absent,
|
||||||
notify => Exec['ps-systemd-daemon-reload'],
|
notify => Exec['ps-ps-systemd-daemon-reload'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user