recommit for updates in build 26

This commit is contained in:
2017-07-21 15:43:26 +02:00
parent df148ea403
commit 1fc9ffeacd
19 changed files with 94 additions and 29 deletions

View File

@@ -8,6 +8,16 @@ Changelog of Git Changelog.
<h2> No issue </h2>
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/00ef7138b378bf5">00ef7138b378bf5</a> Jenkins Server <i>2017-07-21 13:06:15</i>
<p>
<h3>recommit for updates in build 25</h3>
</p>
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/46d3b02f7625b15">46d3b02f7625b15</a> Arne Teuke <i>2017-07-21 13:05:55</i>
<p>
<h3>added control for welcome.conf</h3>
</p>
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/4ec7633f976a225">4ec7633f976a225</a> Jenkins Server <i>2017-07-21 12:51:33</i>
<p>
<h3>recommit for updates in build 24</h3>

View File

@@ -51,6 +51,7 @@
| `-- params.pp
|-- templates
| |-- httpd
| | |-- forward_conf.erb
| | |-- nagios_conf.erb
| | `-- welcome_conf.erb
| |-- nagios
@@ -69,4 +70,4 @@
|-- README.md
`-- REPOSTRUCTURE.md
16 directories, 53 files
16 directories, 54 files

View File

@@ -181,7 +181,7 @@
</div>
<div id="footer">
Generated on Fri Jul 21 15:06:09 2017 by
Generated on Fri Jul 21 15:43:20 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

@@ -143,7 +143,9 @@ parameters
configure NRPE on clients (optional)
* configure firewall (optional)
*
configure selinux policies (optional)</p>
configure selinux policies (optional)
* configure forwarding http to https
including accesing the /nagios url directly (optional)</p>
<p>Service
* manage Nagios service on server
@@ -297,7 +299,7 @@ environments.</p>
</div></div>
<div id="footer">
Generated on Fri Jul 21 15:06:10 2017 by
Generated on Fri Jul 21 15:43:21 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

@@ -143,7 +143,9 @@ parameters
configure NRPE on clients (optional)
* configure firewall (optional)
*
configure selinux policies (optional)</p>
configure selinux policies (optional)
* configure forwarding http to https
including accesing the /nagios url directly (optional)</p>
<p>Service
* manage Nagios service on server
@@ -297,7 +299,7 @@ environments.</p>
</div></div>
<div id="footer">
Generated on Fri Jul 21 15:06:09 2017 by
Generated on Fri Jul 21 15:43:20 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

@@ -139,7 +139,7 @@ class cd_nagios {
</div>
<div id="footer">
Generated on Fri Jul 21 15:06:10 2017 by
Generated on Fri Jul 21 15:43:21 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

@@ -368,7 +368,7 @@ class cd_nagios::client::target (
</div>
<div id="footer">
Generated on Fri Jul 21 15:06:12 2017 by
Generated on Fri Jul 21 15:43:23 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 Fri Jul 21 15:06:12 2017 by
Generated on Fri Jul 21 15:43:23 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 Fri Jul 21 15:06:12 2017 by
Generated on Fri Jul 21 15:43:23 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 Fri Jul 21 15:06:11 2017 by
Generated on Fri Jul 21 15:43:22 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 Fri Jul 21 15:06:12 2017 by
Generated on Fri Jul 21 15:43:23 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 Fri Jul 21 15:06:12 2017 by
Generated on Fri Jul 21 15:43:22 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

@@ -1859,12 +1859,20 @@ Requires format &#39;ipaddress ip address range&#39;</p>
<span class='name'>ng_disable_welcome</span>
<span class='type'>(<tt>Any</tt>)</span>
<span class='type'>(<tt>boolean</tt>)</span>
<em class="default">(defaults to: <tt>true</tt>)</em>
&mdash;
<div class='inline'>
<p>Whether the regular welcome screen should
be disabled. this is required for
the nagios http check on the nagios server
to be successful.</p>
</div>
</li>
</ul>
@@ -1884,9 +1892,6 @@ Requires format &#39;ipaddress ip address range&#39;</p>
<pre class="lines">
203
204
205
206
207
208
@@ -2043,10 +2048,17 @@ Requires format &#39;ipaddress ip address range&#39;</p>
359
360
361
362</pre>
362
363
364
365
366
367
368
369</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 203</span>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 206</span>
class cd_nagios::params (
@@ -2158,6 +2170,7 @@ $ng_use_selinux_tools = true,
$ng_required_hosts = &#39;&#39;,
$ng_required_ips = &#39;127.0.0.0/8&#39;,
$ng_disable_welcome = true,
) {
# installation section
@@ -2200,8 +2213,11 @@ $ng_taccgi_erb = &#39;cd_nagios/selinux/taccgi.erb&#39;
$ng_statcgi_erb = &#39;cd_nagios/selinux/statuscgi.erb&#39;
$ng_nagios_conf = &#39;/etc/httpd/conf.d/nagios.conf&#39;
$ng_nagios_conf_erb = &#39;cd_nagios/httpd/nagios_conf.erb&#39;
$ng_welcome_conf =&#39;/etc/httpd/conf.d/welcome.conf&#39;
$ng_welcome_conf = &#39;/etc/httpd/conf.d/welcome.conf&#39;
$ng_welcome_conf_erb = &#39;cd_nagios/httpd/welcome_conf.erb&#39;
$ng_forward_conf = &#39;/etc/httpd/conf.d/nagios_forward.conf&#39;
$ng_forward_conf_erb = &#39;cd_nagios/httpd/forward_conf.erb&#39;
# includes must be last
@@ -2215,7 +2231,7 @@ $ng_welcome_conf_erb = &#39;cd_nagios/httpd/welcome_conf.erb&#39;
</div>
<div id="footer">
Generated on Fri Jul 21 15:06:11 2017 by
Generated on Fri Jul 21 15:43:22 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

@@ -249,7 +249,7 @@ class cd_nagios::selinux::config (
</div>
<div id="footer">
Generated on Fri Jul 21 15:06:12 2017 by
Generated on Fri Jul 21 15:43:23 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

@@ -195,7 +195,7 @@ class cd_nagios::server::access_rules (
</div>
<div id="footer">
Generated on Fri Jul 21 15:06:12 2017 by
Generated on Fri Jul 21 15:43:23 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

@@ -191,7 +191,24 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
82
83
84
85</pre>
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/server/files.pp', line 23</span>
@@ -239,7 +256,24 @@ class cd_nagios::server::files (
notify =&gt; Service[$ae_service],
}
# manage index.gtml for nagios web server
if $ng_http_https_fw == true {
file { $ng_forward_conf:
ensure =&gt; file,
path =&gt; $ng_forward_conf,
owner =&gt; &#39;root&#39;,
group =&gt; &#39;root&#39;,
mode =&gt; &#39;0644&#39;,
selrange =&gt; s0,
selrole =&gt; object_r,
seltype =&gt; httpd_config_t,
seluser =&gt; system_u,
content =&gt; template($ng_forward_conf_erb),
notify =&gt; Service[$ae_service],
}
}
# manage welcome.conf for nagios web server
if $ng_disable_welcome == true {
@@ -266,7 +300,7 @@ class cd_nagios::server::files (
</div>
<div id="footer">
Generated on Fri Jul 21 15:06:12 2017 by
Generated on Fri Jul 21 15:43:23 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 Fri Jul 21 15:06:12 2017 by
Generated on Fri Jul 21 15:43:23 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

@@ -220,7 +220,7 @@ $ng_service = $::cd_nagios::params::ng_service
</div>
<div id="footer">
Generated on Fri Jul 21 15:06:12 2017 by
Generated on Fri Jul 21 15:43:23 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

@@ -90,7 +90,7 @@
</div>
<div id="footer">
Generated on Fri Jul 21 15:06:10 2017 by
Generated on Fri Jul 21 15:43:21 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>