Recommit for updates in build 32
This commit is contained in:
@@ -130,7 +130,19 @@
|
|||||||
32
|
32
|
||||||
33
|
33
|
||||||
34
|
34
|
||||||
35</pre>
|
35
|
||||||
|
36
|
||||||
|
37
|
||||||
|
38
|
||||||
|
39
|
||||||
|
40
|
||||||
|
41
|
||||||
|
42
|
||||||
|
43
|
||||||
|
44
|
||||||
|
45
|
||||||
|
46
|
||||||
|
47</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/main/files.pp', line 6</span>
|
<pre class="code"><span class="info file"># File 'manifests/main/files.pp', line 6</span>
|
||||||
@@ -163,6 +175,18 @@ class prometheus_cd::main::files (
|
|||||||
content => template('prometheus_cd/override.conf.erb'),
|
content => template('prometheus_cd/override.conf.erb'),
|
||||||
notify => Service[$ps_prom_service],
|
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],
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -308,6 +308,24 @@
|
|||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ps_web_pass</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'changeme'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>the password for web authentication</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|
||||||
<span class='name'>ps_retention_time</span>
|
<span class='name'>ps_retention_time</span>
|
||||||
@@ -355,7 +373,6 @@
|
|||||||
<pre class="lines">
|
<pre class="lines">
|
||||||
|
|
||||||
|
|
||||||
19
|
|
||||||
20
|
20
|
||||||
21
|
21
|
||||||
22
|
22
|
||||||
@@ -401,10 +418,13 @@
|
|||||||
62
|
62
|
||||||
63
|
63
|
||||||
64
|
64
|
||||||
65</pre>
|
65
|
||||||
|
66
|
||||||
|
67
|
||||||
|
68</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 19</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 20</span>
|
||||||
|
|
||||||
class prometheus_cd::params (
|
class prometheus_cd::params (
|
||||||
|
|
||||||
@@ -426,6 +446,7 @@ class prometheus_cd::params (
|
|||||||
# auth
|
# auth
|
||||||
String $ps_auth_user = 'changeme',
|
String $ps_auth_user = 'changeme',
|
||||||
String $ps_auth_pass = 'changeme',
|
String $ps_auth_pass = 'changeme',
|
||||||
|
String $ps_web_pass = 'changeme',
|
||||||
|
|
||||||
# storage
|
# storage
|
||||||
String $ps_retention_time = '15d',
|
String $ps_retention_time = '15d',
|
||||||
@@ -444,6 +465,7 @@ class prometheus_cd::params (
|
|||||||
|
|
||||||
# files
|
# files
|
||||||
$ps_main_file = "${ps_main_dir}/prometheus.yml"
|
$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_system_service_file = "${ps_system_file_dir}/override.conf"
|
||||||
|
|
||||||
# services
|
# services
|
||||||
|
|||||||
Reference in New Issue
Block a user