recommit for updates in build 10
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -2137,7 +2137,7 @@ $ng_statcgi_erb = 'cd_nagios/selinux/statuscgi.erb'
|
||||
</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>
|
||||
|
||||
@@ -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 { 'create_avc_list':
|
||||
command => 'sealert -a /var/log/audit/audit.log > avc_alerts',
|
||||
cwd => $ng_user_home,
|
||||
path => ['/usr/bin'],
|
||||
creates => "${ng_user_home}/avc_alerts",
|
||||
}
|
||||
|
||||
# sealert tac-cgi
|
||||
exec { 'create_policy_taccgi':
|
||||
command => template($ng_taccgi_erb),
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => '/tmp',
|
||||
cwd => $ng_user_home,
|
||||
creates => '/tmp/my-taccgi.pp',
|
||||
notify => Exec['semodule_taccgi'],
|
||||
}
|
||||
@@ -194,7 +217,7 @@ class cd_nagios::selinux::config (
|
||||
exec { 'semodule_taccgi':
|
||||
command => 'semodule -i my-taccgi.pp',
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => '/tmp',
|
||||
cwd => $ng_user_home,
|
||||
require => Exec['create_policy_taccgi'],
|
||||
refreshonly => true,
|
||||
}
|
||||
@@ -204,7 +227,7 @@ class cd_nagios::selinux::config (
|
||||
exec { 'create_policy_statuscgi':
|
||||
command => template($ng_statcgi_erb),
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => '/tmp',
|
||||
cwd => $ng_user_home,
|
||||
creates => '/tmp/my-statuscgi.pp',
|
||||
notify => Exec['semodule_taccgi'],
|
||||
}
|
||||
@@ -212,10 +235,11 @@ class cd_nagios::selinux::config (
|
||||
exec { 'semodule_statuscgi':
|
||||
command => 'semodule -i my-statuscgi.pp',
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => '/tmp',
|
||||
cwd => $ng_user_home,
|
||||
require => Exec['create_policy_statuscgi'],
|
||||
refreshonly => 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>
|
||||
|
||||
@@ -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 => system_u,
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
|
||||
concat::fragment { 'create_header':
|
||||
target => $ng_htpasswd_file,
|
||||
content => template($ng_htpasswd_head),
|
||||
notify => 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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user