diff --git a/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Afiles.html b/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Afiles.html index 9d95201..0a4b684 100644 --- a/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Afiles.html +++ b/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Afiles.html @@ -130,7 +130,19 @@ 32 33 34 -35 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47
# File 'manifests/main/files.pp', line 6
@@ -163,6 +175,18 @@ class prometheus_cd::main::files (
content => template('prometheus_cd/override.conf.erb'),
notify => Service[$ps_prom_service],
}
+ file { $ps_web_config_file:
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ content => template('prometheus_cd/web.yml.erb'),
+ notify => Service[$ps_prom_service],
+ }
}
}
the password for web authentication
+-19 20 21 22 @@ -401,10 +418,13 @@ 62 63 64 -65+65 +66 +67 +68
# File 'manifests/params.pp', line 19
+ # File 'manifests/params.pp', line 20
class prometheus_cd::params (
@@ -426,6 +446,7 @@ class prometheus_cd::params (
# auth
String $ps_auth_user = 'changeme',
String $ps_auth_pass = 'changeme',
+ String $ps_web_pass = 'changeme',
# storage
String $ps_retention_time = '15d',
@@ -444,6 +465,7 @@ class prometheus_cd::params (
# 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"
# services