Recommit for updates in build 19
This commit is contained in:
@@ -116,7 +116,9 @@
|
||||
18
|
||||
19
|
||||
20
|
||||
21</pre>
|
||||
21
|
||||
22
|
||||
23</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/files.pp', line 6</span>
|
||||
@@ -124,6 +126,7 @@
|
||||
class prometheus_cd::main::files (
|
||||
) inherits prometheus_cd::params {
|
||||
require prometheus_cd::main::dirs
|
||||
if $ps_prom_host == fqdn {
|
||||
file { $ps_main_file:
|
||||
ensure => file,
|
||||
owner => 'root',
|
||||
@@ -136,6 +139,7 @@ class prometheus_cd::main::files (
|
||||
content => template('prometheus_cd/prometheus.yml.erb'),
|
||||
notify => Service[$ps_prom_service],
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -292,7 +292,7 @@
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ps_auth_user</span>
|
||||
<span class='name'>ps_auth_pass</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
@@ -308,19 +308,6 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ps_auth_pass</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'changeme'</tt>)</em>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -371,7 +358,8 @@
|
||||
53
|
||||
54
|
||||
55
|
||||
56</pre>
|
||||
56
|
||||
57</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 17</span>
|
||||
@@ -413,6 +401,7 @@ class prometheus_cd::params (
|
||||
# services
|
||||
$ps_prom_service = 'prometheus'
|
||||
$ps_ne_service = 'node_exporter'
|
||||
|
||||
# includes must be last
|
||||
include prometheus_cd::main::config
|
||||
}</pre>
|
||||
|
||||
Reference in New Issue
Block a user