recommit for updates in build 14

This commit is contained in:
2018-04-29 13:55:21 +02:00
parent 21f1cd441f
commit 99cb6f049c
2 changed files with 23 additions and 1 deletions

View File

@@ -258,7 +258,13 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
149
150
151
152</pre>
152
153
154
155
156
157
158</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/selinux/config.pp', line 23</span>
@@ -284,6 +290,7 @@ class cd_nagios::selinux::config (
exec { &#39;create_policy_taccgi&#39;:
command =&gt; template($ng_taccgi_erb),
path =&gt; [&#39;/usr/bin&#39;,&#39;/usr/sbin&#39;],
user =&gt; $ng_user,
cwd =&gt; $ng_user_home,
creates =&gt; &quot;${ng_user_home}/my-taccgi.pp&quot;,
notify =&gt; Exec[&#39;semodule_taccgi&#39;],
@@ -292,6 +299,7 @@ class cd_nagios::selinux::config (
exec { &#39;semodule_taccgi&#39;:
command =&gt; &quot;semodule -i ${ng_user_home}/my-taccgi.pp&quot;,
path =&gt; [&#39;/usr/bin&#39;,&#39;/usr/sbin&#39;],
user =&gt; $ng_user,
cwd =&gt; $ng_user_home,
require =&gt; Exec[&#39;create_policy_taccgi&#39;],
refreshonly =&gt; true,
@@ -359,6 +367,7 @@ class cd_nagios::selinux::config (
exec { &#39;create_policy_statusdat&#39;:
command =&gt; template($ng_statdat_erb),
path =&gt; [&#39;/usr/bin&#39;,&#39;/usr/sbin&#39;],
user =&gt; $ng_user,
cwd =&gt; $ng_user_home,
creates =&gt; &quot;${ng_user_home}/my-http.pp&quot;,
notify =&gt; Exec[&#39;semodule_statusdat&#39;],
@@ -367,6 +376,7 @@ class cd_nagios::selinux::config (
exec { &#39;semodule_statusdat&#39;:
command =&gt; &quot;semodule -i ${ng_user_home}/my-httpd.pp&quot;,
path =&gt; [&#39;/usr/bin&#39;,&#39;/usr/sbin&#39;],
user =&gt; $ng_user,
cwd =&gt; $ng_user_home,
require =&gt; Exec[&#39;create_policy_statusdat&#39;],
refreshonly =&gt; true,
@@ -378,6 +388,7 @@ class cd_nagios::selinux::config (
exec { &#39;create_policy_grep&#39;:
command =&gt; template($ng_grep_erb),
path =&gt; [&#39;/usr/bin&#39;,&#39;/usr/sbin&#39;],
user =&gt; $ng_user,
cwd =&gt; $ng_user_home,
creates =&gt; &quot;${ng_user_home}/my-grep.pp&quot;,
notify =&gt; Exec[&#39;semodule_statusdat&#39;],
@@ -386,6 +397,7 @@ class cd_nagios::selinux::config (
exec { &#39;semodule_grep&#39;:
command =&gt; &quot;semodule -i ${ng_user_home}/my-grep.pp&quot;,
path =&gt; [&#39;/usr/bin&#39;,&#39;/usr/sbin&#39;],
user =&gt; $ng_user,
cwd =&gt; $ng_user_home,
require =&gt; Exec[&#39;create_policy_grep&#39;],
refreshonly =&gt; true,