3
0

Recommit for updates in build 16

This commit is contained in:
2025-10-18 13:12:26 +02:00
parent c3aaaca252
commit c818256e73
3 changed files with 98 additions and 7 deletions

View File

@@ -272,6 +272,55 @@
</li>
<li>
<span class='name'>ps_auth_user</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;changeme&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>the username for authentication</p>
</div>
</li>
<li>
<span class='name'>ps_auth_user</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;changeme&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>the password for authentication</p>
</div>
</li>
<li>
<span class='name'>ps_auth_pass</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;changeme&#39;</tt>)</em>
</li>
</ul>
@@ -283,8 +332,6 @@
<pre class="lines">
15
16
17
18
19
@@ -312,10 +359,21 @@
41
42
43
44</pre>
44
45
46
47
48
49
50
51
52
53
54
55</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 15</span>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 17</span>
class prometheus_cd::params (
@@ -334,6 +392,10 @@ class prometheus_cd::params (
String $ps_fw_prefix = &#39;50&#39;,
String $ps_main_port = &#39;9090&#39;,
# auth
String $ps_auth_user = &#39;changeme&#39;,
String $ps_auth_pass = &#39;changeme&#39;,
) {
# defaults
$fqdn = $facts[&#39;networking&#39;][&#39;fqdn&#39;]
@@ -344,6 +406,11 @@ class prometheus_cd::params (
# dirs
$ps_main_dir = &#39;/etc/prometheus&#39;
# files
# services
$ps_prom_service = &#39;prometheus&#39;
$ps_ne_service = &#39;node_exporter&#39;
# includes must be last
include prometheus_cd::main::config
}</pre>