OP#189 add the services
This commit is contained in:
@@ -109,15 +109,20 @@ class prometheus_cd::params (
|
||||
# dirs
|
||||
$ps_main_dir = '/etc/prometheus'
|
||||
$ps_system_file_dir = '/etc/systemd/system/prometheus.service.d'
|
||||
$ps_system_dir = '/etc/systemd/system/'
|
||||
|
||||
# files
|
||||
$ps_main_file = "${ps_main_dir}/prometheus.yml"
|
||||
$ps_web_config_file = "${ps_main_dir}/web.yml"
|
||||
$ps_system_service_file = "${ps_system_file_dir}/override.conf"
|
||||
$ps_pruning_svc_file = "${ps_system_dir}/prometheus-prune.service"
|
||||
$ps_pruning_timer_file = "${ps_system_dir}/prometheus-prune.timer"
|
||||
|
||||
# services
|
||||
$ps_prom_service = 'prometheus'
|
||||
$ps_ne_service = 'node_exporter'
|
||||
$ps_prune_service = 'prometheus-prune.service'
|
||||
$ps_prune_timer = 'prometheus-prune.timer'
|
||||
|
||||
# includes must be last
|
||||
include prometheus_cd::main::config
|
||||
|
||||
Reference in New Issue
Block a user