recommit for updates in build 149
This commit is contained in:
@@ -281,7 +281,7 @@
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:19:57 2017 by
|
||||
Generated on Sun Jul 30 16:40:53 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>
|
||||
|
||||
@@ -408,7 +408,7 @@ environments.</p>
|
||||
</div></div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:19:59 2017 by
|
||||
Generated on Sun Jul 30 16:40:55 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>
|
||||
|
||||
@@ -408,7 +408,7 @@ environments.</p>
|
||||
</div></div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:19:58 2017 by
|
||||
Generated on Sun Jul 30 16:40:54 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>
|
||||
|
||||
@@ -139,7 +139,7 @@ class cd_nagios {
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:19:59 2017 by
|
||||
Generated on Sun Jul 30 16:40:55 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>
|
||||
|
||||
@@ -230,7 +230,7 @@ class cd_nagios::certbot::certs (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:03 2017 by
|
||||
Generated on Sun Jul 30 16:40: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>
|
||||
|
||||
@@ -378,7 +378,7 @@ class cd_nagios::client::target (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16:40: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>
|
||||
|
||||
@@ -207,7 +207,7 @@ class cd_nagios::firewall::iptables (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16:41:00 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>
|
||||
|
||||
@@ -195,7 +195,7 @@ class cd_nagios::main::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:03 2017 by
|
||||
Generated on Sun Jul 30 16:40: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 Sun Jul 30 16:20:03 2017 by
|
||||
Generated on Sun Jul 30 16:40: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>
|
||||
|
||||
@@ -213,7 +213,7 @@ class cd_nagios::main::install (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:03 2017 by
|
||||
Generated on Sun Jul 30 16:40: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>
|
||||
|
||||
@@ -194,7 +194,7 @@ class cd_nagios::main::user (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:03 2017 by
|
||||
Generated on Sun Jul 30 16:40: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>
|
||||
|
||||
@@ -217,7 +217,7 @@ class cd_nagios::nagios::objects::add_contact_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16:41:01 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>
|
||||
|
||||
@@ -215,7 +215,7 @@ class cd_nagios::nagios::objects::add_contactgroups_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16:41:01 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>
|
||||
|
||||
@@ -214,7 +214,7 @@ class cd_nagios::nagios::objects::add_hostgroup_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16:41:01 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>
|
||||
|
||||
@@ -224,7 +224,7 @@ class cd_nagios::nagios::objects::add_servicegroup_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16:41:01 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>
|
||||
|
||||
@@ -222,7 +222,7 @@ class cd_nagios::nagios::objects::add_timeperiod_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16:41:01 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>
|
||||
|
||||
@@ -597,7 +597,7 @@ class cd_nagios::nagios::objects::commands (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16:41:00 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>
|
||||
|
||||
@@ -182,7 +182,7 @@ class cd_nagios::nagios::objects::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16:41:00 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>
|
||||
|
||||
@@ -237,7 +237,7 @@ class cd_nagios::nagios::objects::contactgroups (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16:41:00 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>
|
||||
|
||||
@@ -280,7 +280,7 @@ class cd_nagios::nagios::objects::contacts (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16:41:00 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>
|
||||
|
||||
@@ -551,7 +551,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16:41:00 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::nagios::objects::servicegroups (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16:41:00 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>
|
||||
|
||||
@@ -305,7 +305,7 @@ class cd_nagios::nagios::objects::template_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16:41:01 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>
|
||||
|
||||
@@ -285,7 +285,7 @@ class cd_nagios::nagios::objects::timeperiods (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16:41:00 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>
|
||||
|
||||
@@ -876,7 +876,7 @@ templates and for firewall
|
||||
<span class='type'>(<tt>string</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'/sbin/nologin'</tt>)</em>
|
||||
<em class="default">(defaults to: <tt>'/bin/bash'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
@@ -5264,8 +5264,7 @@ configuration file.</p>
|
||||
998
|
||||
999
|
||||
1000
|
||||
1001
|
||||
1002</pre>
|
||||
1001</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 648</span>
|
||||
@@ -5328,7 +5327,7 @@ $ng_u_comment = 'Nagios service user',
|
||||
$ng_u_uid = '1004',
|
||||
$ng_user_home = '/var/spool/nagios',
|
||||
$ng_u_groups = undef,
|
||||
$ng_user_shell = '/sbin/nologin',
|
||||
$ng_user_shell = '/bin/bash',
|
||||
|
||||
# cgi settings
|
||||
$ng_context_help = '1',
|
||||
@@ -5562,6 +5561,7 @@ $ng_htpasswd_head = 'cd_nagios/nagios/htpasswd_head.erb'
|
||||
$ng_htpasswd_rule = 'cd_nagios/nagios/htpasswd_rule.erb'
|
||||
$ng_taccgi_erb = 'cd_nagios/selinux/taccgi.erb'
|
||||
$ng_statcgi_erb = 'cd_nagios/selinux/statuscgi.erb'
|
||||
$ng_checknrpe_erb = 'cd_nagios/selinux/checknrpe.erb'
|
||||
$ng_nagios_conf = '/etc/httpd/conf.d/nagios.conf'
|
||||
$ng_nagios_conf_erb = 'cd_nagios/httpd/nagios_conf.erb'
|
||||
$ng_welcome_conf = '/etc/httpd/conf.d/welcome.conf'
|
||||
@@ -5617,8 +5617,6 @@ $ng_cntctgrps_rule_erb = 'cd_nagios/nagios/contactgroups_cfg_rule.erb&#
|
||||
$ng_target_command = "${ng_conf_d_dir}/nagios_commands_base.cfg"
|
||||
$ng_nagios_service_cmd = 'check_nagios!/var/log/nagios/status.dat!5!/usr/sbin/nagios'
|
||||
|
||||
# nrpe
|
||||
$ng_nrpe_file = "${ng_main_dir}/nrpe.cfg"
|
||||
|
||||
# includes must be last
|
||||
|
||||
@@ -5632,7 +5630,7 @@ $ng_nrpe_file = "${ng_main_dir}/nrpe.cfg"
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:03 2017 by
|
||||
Generated on Sun Jul 30 16:40: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>
|
||||
|
||||
@@ -183,7 +183,28 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
74
|
||||
75
|
||||
76
|
||||
77</pre>
|
||||
77
|
||||
78
|
||||
79
|
||||
80
|
||||
81
|
||||
82
|
||||
83
|
||||
84
|
||||
85
|
||||
86
|
||||
87
|
||||
88
|
||||
89
|
||||
90
|
||||
91
|
||||
92
|
||||
93
|
||||
94
|
||||
95
|
||||
96
|
||||
97
|
||||
98</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/selinux/config.pp', line 24</span>
|
||||
@@ -240,6 +261,27 @@ class cd_nagios::selinux::config (
|
||||
refreshonly => true,
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
|
||||
# sealert check_nrpe
|
||||
|
||||
exec { 'create_policy_checknrpe':
|
||||
command => template($ng_checknrpe_erb),
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
creates => "${ng_user_home}/my-checknrpe.pp",
|
||||
notify => Exec['semodule_checknrpe'],
|
||||
}
|
||||
|
||||
exec { 'semodule_checknrpe':
|
||||
command => 'semodule -i my-checknrpe.pp',
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
require => Exec['create_policy_checknrpe'],
|
||||
refreshonly => true,
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
@@ -249,7 +291,7 @@ class cd_nagios::selinux::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16:41:00 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>
|
||||
|
||||
@@ -195,7 +195,7 @@ class cd_nagios::server::access_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16:41:00 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>
|
||||
|
||||
@@ -334,7 +334,7 @@ class cd_nagios::server::files (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:03 2017 by
|
||||
Generated on Sun Jul 30 16:40: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>
|
||||
|
||||
@@ -310,7 +310,7 @@ class cd_nagios::server::service (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16:41:00 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>
|
||||
|
||||
@@ -285,7 +285,7 @@ $ng_contacts_rule_erb = $::cd_nagios::params::ng_contacts_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:06 2017 by
|
||||
Generated on Sun Jul 30 16:41:02 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>
|
||||
|
||||
@@ -237,7 +237,7 @@ $ng_cntctgrps_rule_erb = $::cd_nagios::params::ng_cntctgrps_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:06 2017 by
|
||||
Generated on Sun Jul 30 16:41:02 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>
|
||||
|
||||
@@ -245,7 +245,7 @@ $ng_tgt_hostgrp_rule_erb = $::cd_nagios::params::ng_tgt_hostgrp_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:06 2017 by
|
||||
Generated on Sun Jul 30 16:41:02 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>
|
||||
|
||||
@@ -245,7 +245,7 @@ $ng_tgt_svcgrp_rule_erb = $::cd_nagios::params::ng_tgt_svcgrp_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:07 2017 by
|
||||
Generated on Sun Jul 30 16:41:02 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>
|
||||
|
||||
@@ -370,7 +370,7 @@ $ng_tgt_timep_rule_erb = $::cd_nagios::params::ng_tgt_timep_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:06 2017 by
|
||||
Generated on Sun Jul 30 16:41:02 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>
|
||||
|
||||
@@ -906,7 +906,7 @@ $ng_templates_rule_erb = $::cd_nagios::params::ng_templates_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:06 2017 by
|
||||
Generated on Sun Jul 30 16:41:02 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>
|
||||
|
||||
@@ -220,7 +220,7 @@ $ng_service = $::cd_nagios::params::ng_service
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16:41:01 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>
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:19:59 2017 by
|
||||
Generated on Sun Jul 30 16:40:55 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