recommit for updates in build 14

This commit is contained in:
Jenkins ConfDroid
2019-04-23 21:22:32 +02:00
parent e07882a6af
commit 6f6abc12cb
3 changed files with 25 additions and 9 deletions

View File

@@ -139,7 +139,9 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
40
41
42
43</pre>
43
44
45</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/main/exec.pp', line 23</span>
@@ -152,17 +154,19 @@ class cd_nrpe::main::exec (
# create policy file fpr sudo selinux policy
exec { &#39;create_nrpe_pp&#39;:
command =&gt; template($ne_checkmodule_nrpe_erb),
user =&gt; &#39;root&#39;,
creates =&gt; $ne_nrpe_pp_file,
command =&gt; template($ne_checkmodule_nrpe_erb),
user =&gt; &#39;root&#39;,
creates =&gt; $ne_nrpe_pp_file,
refreshonly =&gt; true,
notify =&gt; Exec[&#39;import_semodule_nrpe&#39;],
}
# import semodule
exec { &#39;import_semodule_nrpe&#39;:
command =&gt; template($ne_semodule_erb),
user =&gt; &#39;root&#39;,
require =&gt; Exec[&#39;create_nrpe_pp&#39;],
unless =&gt; &#39;/sbin/semodule -l | grep nrpe | grep -v nrpe_&#39;,
command =&gt; template($ne_semodule_erb),
user =&gt; &#39;root&#39;,
unless =&gt; &#39;/sbin/semodule -l | grep nrpe | grep -v nrpe_&#39;,
refreshonly =&gt; true,
}
}</pre>
</td>

View File

@@ -186,7 +186,8 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
87
88
89
90</pre>
90
91</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/main/files.pp', line 23</span>
@@ -256,6 +257,7 @@ class cd_nrpe::main::files (
seltype =&gt; nrpe_etc_t,
seluser =&gt; system_u,
content =&gt; template($ne_nrpe_te_erb),
notify =&gt; Exec[&#39;create_nrpe_pp&#39;],
}
}
}</pre>