3
0
Arne Teuke
2025-10-18 14:58:10 +02:00
parent 296f31f832
commit 1dec72f087
3 changed files with 0 additions and 14 deletions

View File

@@ -18,16 +18,5 @@ class prometheus_cd::main::dirs (
seltype => etc_t,
seluser => system_u,
}
# data directory
file { $ps_data_dir:
ensure => directory,
owner => 'prometheus',
group => 'prometheus',
mode => '0750',
selrange => s0,
selrole => object_r,
seltype => default_t,
seluser => system_u,
}
}
}

View File

@@ -13,7 +13,6 @@
# @param [String] ps_main_port the firewall main port for prometheus
# @param [String] ps_auth_user the username for authentication
# @param [String] ps_auth_pass the password for authentication
# @param [String] ps_data_dir the data directory for prometheus
##############################################################################
class prometheus_cd::params (
@@ -27,7 +26,6 @@ class prometheus_cd::params (
Boolean $manage_node_exporter = false,
Boolean $ps_manage_fw = false,
String $ps_prom_host = 'prometheus.example.net',
String $ps_data_dir = '/data/prometheus',
# firewall
String $ps_fw_prefix = '50',

View File

@@ -9,7 +9,6 @@ global:
storage:
tsdb:
out_of_order_time_window: 5m
path: <%= @ps_data_dir %>
alerting:
alertmanagers:
- follow_redirects: true