recommit for updates in build 10

This commit is contained in:
2017-07-20 18:15:02 +02:00
parent 6194f53a12
commit 33ed2fc013
19 changed files with 73 additions and 38 deletions

View File

@@ -139,7 +139,7 @@ class cd_nagios {
</div>
<div id="footer">
Generated on Thu Jul 20 17:17:20 2017 by
Generated on Thu Jul 20 18:14:57 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0).
</div>

View File

@@ -207,7 +207,7 @@ class cd_nagios::firewall::iptables (
</div>
<div id="footer">
Generated on Thu Jul 20 17:17:22 2017 by
Generated on Thu Jul 20 18:14:59 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0).
</div>

View File

@@ -187,7 +187,7 @@ class cd_nagios::main::config (
</div>
<div id="footer">
Generated on Thu Jul 20 17:17:22 2017 by
Generated on Thu Jul 20 18:14:59 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0).
</div>

View File

@@ -468,7 +468,7 @@ class cd_nagios::main::dirs (
</div>
<div id="footer">
Generated on Thu Jul 20 17:17:21 2017 by
Generated on Thu Jul 20 18:14:59 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0).
</div>

View File

@@ -235,7 +235,7 @@ class cd_nagios::main::install (
</div>
<div id="footer">
Generated on Thu Jul 20 17:17:22 2017 by
Generated on Thu Jul 20 18:14:59 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0).
</div>

View File

@@ -200,7 +200,7 @@ class cd_nagios::main::user (
</div>
<div id="footer">
Generated on Thu Jul 20 17:17:22 2017 by
Generated on Thu Jul 20 18:14:59 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0).
</div>

View File

@@ -2137,7 +2137,7 @@ $ng_statcgi_erb = &#39;cd_nagios/selinux/statuscgi.erb&#39;
</div>
<div id="footer">
Generated on Thu Jul 20 17:17:21 2017 by
Generated on Thu Jul 20 18:14:59 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0).
</div>

View File

@@ -171,7 +171,19 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
62
63
64
65</pre>
65
66
67
68
69
70
71
72
73
74
75
76
77</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/selinux/config.pp', line 24</span>
@@ -182,11 +194,22 @@ class cd_nagios::selinux::config (
if $ng_use_selinux_tools == true {
# sealert tac-cgi
# it appears that selinux hehaves differently accross different nodes,
# so all we can do for now is to create a list of the AVC alerts and come up
# with a solution on that later.
exec { &#39;create_avc_list&#39;:
command =&gt; &#39;sealert -a /var/log/audit/audit.log &gt; avc_alerts&#39;,
cwd =&gt; $ng_user_home,
path =&gt; [&#39;/usr/bin&#39;],
creates =&gt; &quot;${ng_user_home}/avc_alerts&quot;,
}
# sealert tac-cgi
exec { &#39;create_policy_taccgi&#39;:
command =&gt; template($ng_taccgi_erb),
path =&gt; [&#39;/usr/bin&#39;,&#39;/usr/sbin&#39;],
cwd =&gt; &#39;/tmp&#39;,
cwd =&gt; $ng_user_home,
creates =&gt; &#39;/tmp/my-taccgi.pp&#39;,
notify =&gt; Exec[&#39;semodule_taccgi&#39;],
}
@@ -194,7 +217,7 @@ class cd_nagios::selinux::config (
exec { &#39;semodule_taccgi&#39;:
command =&gt; &#39;semodule -i my-taccgi.pp&#39;,
path =&gt; [&#39;/usr/bin&#39;,&#39;/usr/sbin&#39;],
cwd =&gt; &#39;/tmp&#39;,
cwd =&gt; $ng_user_home,
require =&gt; Exec[&#39;create_policy_taccgi&#39;],
refreshonly =&gt; true,
}
@@ -204,7 +227,7 @@ class cd_nagios::selinux::config (
exec { &#39;create_policy_statuscgi&#39;:
command =&gt; template($ng_statcgi_erb),
path =&gt; [&#39;/usr/bin&#39;,&#39;/usr/sbin&#39;],
cwd =&gt; &#39;/tmp&#39;,
cwd =&gt; $ng_user_home,
creates =&gt; &#39;/tmp/my-statuscgi.pp&#39;,
notify =&gt; Exec[&#39;semodule_taccgi&#39;],
}
@@ -212,10 +235,11 @@ class cd_nagios::selinux::config (
exec { &#39;semodule_statuscgi&#39;:
command =&gt; &#39;semodule -i my-statuscgi.pp&#39;,
path =&gt; [&#39;/usr/bin&#39;,&#39;/usr/sbin&#39;],
cwd =&gt; &#39;/tmp&#39;,
cwd =&gt; $ng_user_home,
require =&gt; Exec[&#39;create_policy_statuscgi&#39;],
refreshonly =&gt; true,
}
}
}</pre>
</td>
@@ -225,7 +249,7 @@ class cd_nagios::selinux::config (
</div>
<div id="footer">
Generated on Thu Jul 20 17:17:22 2017 by
Generated on Thu Jul 20 18:14:59 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0).
</div>

View File

@@ -161,13 +161,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
46
47
48
49
50
51
52
53
54
55</pre>
49</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/server/access_rules.pp', line 28</span>
@@ -192,12 +186,6 @@ class cd_nagios::server::access_rules (
seluser =&gt; system_u,
notify =&gt; Service[$ng_service],
}
concat::fragment { &#39;create_header&#39;:
target =&gt; $ng_htpasswd_file,
content =&gt; template($ng_htpasswd_head),
notify =&gt; Service[$ng_service],
}
}
}</pre>
</td>
@@ -207,7 +195,7 @@ class cd_nagios::server::access_rules (
</div>
<div id="footer">
Generated on Thu Jul 20 17:17:22 2017 by
Generated on Thu Jul 20 18:14:59 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0).
</div>

View File

@@ -196,7 +196,7 @@ class cd_nagios::server::files (
</div>
<div id="footer">
Generated on Thu Jul 20 17:17:22 2017 by
Generated on Thu Jul 20 18:14:59 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0).
</div>

View File

@@ -174,7 +174,7 @@ class cd_nagios::server::service (
</div>
<div id="footer">
Generated on Thu Jul 20 17:17:22 2017 by
Generated on Thu Jul 20 18:14:59 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0).
</div>