Recommit for updates in build 23
This commit is contained in:
@@ -116,7 +116,19 @@
|
||||
18
|
||||
19
|
||||
20
|
||||
21</pre>
|
||||
21
|
||||
22
|
||||
23
|
||||
24
|
||||
25
|
||||
26
|
||||
27
|
||||
28
|
||||
29
|
||||
30
|
||||
31
|
||||
32
|
||||
33</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/dirs.pp', line 6</span>
|
||||
@@ -125,6 +137,7 @@ class prometheus_cd::main::dirs (
|
||||
) inherits prometheus_cd::params {
|
||||
require prometheus_cd::main::install
|
||||
if ($ps_prom_host == $fqdn) and ($manage_prometheus == true) {
|
||||
# prometheus directors
|
||||
file { $ps_main_dir:
|
||||
ensure => directory,
|
||||
owner => 'root',
|
||||
@@ -135,6 +148,17 @@ 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 => etc_t,
|
||||
# seluser => system_u,
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
|
||||
@@ -67,6 +67,8 @@
|
||||
<dt>Inherited by:</dt>
|
||||
<dd>
|
||||
|
||||
<span class='object_link'><a href="prometheus_cd_3A_3Amain_3A_3Adirs.html" title="puppet_classes::prometheus_cd::main::dirs (puppet_class)">prometheus_cd::main::dirs</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="prometheus_cd_3A_3Amain_3A_3Afiles.html" title="puppet_classes::prometheus_cd::main::files (puppet_class)">prometheus_cd::main::files</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="prometheus_cd_3A_3Amain_3A_3Aconfig.html" title="puppet_classes::prometheus_cd::main::config (puppet_class)">prometheus_cd::main::config</a></span><br/>
|
||||
@@ -317,6 +319,11 @@
|
||||
<em class="default">(defaults to: <tt>'/data/prometheus'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>the data directory for prometheus</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@@ -330,7 +337,6 @@
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
17
|
||||
18
|
||||
19
|
||||
20
|
||||
@@ -371,10 +377,11 @@
|
||||
55
|
||||
56
|
||||
57
|
||||
58</pre>
|
||||
58
|
||||
59</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 17</span>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 18</span>
|
||||
|
||||
class prometheus_cd::params (
|
||||
|
||||
|
||||
Reference in New Issue
Block a user