remove storage path - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/260
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -9,7 +9,6 @@ global:
|
||||
storage:
|
||||
tsdb:
|
||||
out_of_order_time_window: 5m
|
||||
path: <%= @ps_data_dir %>
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- follow_redirects: true
|
||||
|
||||
Reference in New Issue
Block a user