recommit for updates in build 7
This commit is contained in:
10
CHANGELOG.md
10
CHANGELOG.md
@@ -8,6 +8,16 @@ Changelog of Git Changelog.
|
||||
<h2> No issue </h2>
|
||||
|
||||
|
||||
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/89870ad52dac870">89870ad52dac870</a> Jenkins ConfDroid <i>2019-04-10 18:39:32</i>
|
||||
<p>
|
||||
<h3>recommit for updates in build 6</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/b7d84c1fd9226c5">b7d84c1fd9226c5</a> Arne Teuke <i>2019-04-10 18:38:51</i>
|
||||
<p>
|
||||
<h3>removes firewall control</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/52b020afe793983">52b020afe793983</a> Jenkins ConfDroid <i>2019-04-10 18:28:35</i>
|
||||
<p>
|
||||
<h3>recommit for updates in build 5</h3>
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
| |-- main
|
||||
| | |-- config.pp
|
||||
| | |-- dirs.pp
|
||||
| | |-- exec.pp
|
||||
| | |-- files.pp
|
||||
| | |-- install.pp
|
||||
| | |-- service.pp
|
||||
@@ -54,6 +55,7 @@
|
||||
| |-- cmd_rule.erb
|
||||
| |-- nrpe_cfg.erb
|
||||
| |-- nrpe_conf.erb
|
||||
| |-- nrpe.te.erb
|
||||
| `-- sudo_rule.erb
|
||||
|-- tests
|
||||
| `-- UTF_Files
|
||||
@@ -64,4 +66,4 @@
|
||||
|-- LICENSE
|
||||
`-- README.md
|
||||
|
||||
12 directories, 52 files
|
||||
12 directories, 54 files
|
||||
|
||||
@@ -93,6 +93,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span class='object_link'><a href="puppet_classes/cd_nrpe_3A_3Amain_3A_3Aexec.html" title="puppet_classes::cd_nrpe::main::exec (puppet_class)">cd_nrpe::main::exec</a></span>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span class='object_link'><a href="puppet_classes/cd_nrpe_3A_3Amain_3A_3Afiles.html" title="puppet_classes::cd_nrpe::main::files (puppet_class)">cd_nrpe::main::files</a></span>
|
||||
|
||||
|
||||
@@ -75,42 +75,49 @@
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nrpe::main::files" class="even">
|
||||
<li id="object_puppet_classes::cd_nrpe::main::exec" class="even">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nrpe_3A_3Amain_3A_3Aexec.html" title="puppet_classes::cd_nrpe::main::exec (puppet_class)">cd_nrpe::main::exec</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nrpe::main::files" class="odd">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nrpe_3A_3Amain_3A_3Afiles.html" title="puppet_classes::cd_nrpe::main::files (puppet_class)">cd_nrpe::main::files</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nrpe::main::install" class="odd">
|
||||
<li id="object_puppet_classes::cd_nrpe::main::install" class="even">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nrpe_3A_3Amain_3A_3Ainstall.html" title="puppet_classes::cd_nrpe::main::install (puppet_class)">cd_nrpe::main::install</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nrpe::main::service" class="even">
|
||||
<li id="object_puppet_classes::cd_nrpe::main::service" class="odd">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nrpe_3A_3Amain_3A_3Aservice.html" title="puppet_classes::cd_nrpe::main::service (puppet_class)">cd_nrpe::main::service</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nrpe::main::user" class="odd">
|
||||
<li id="object_puppet_classes::cd_nrpe::main::user" class="even">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nrpe_3A_3Amain_3A_3Auser.html" title="puppet_classes::cd_nrpe::main::user (puppet_class)">cd_nrpe::main::user</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nrpe::params" class="even">
|
||||
<li id="object_puppet_classes::cd_nrpe::params" class="odd">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nrpe_3A_3Aparams.html" title="puppet_classes::cd_nrpe::params (puppet_class)">cd_nrpe::params</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nrpe::selinux::config" class="odd">
|
||||
<li id="object_puppet_classes::cd_nrpe::selinux::config" class="even">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nrpe_3A_3Aselinux_3A_3Aconfig.html" title="puppet_classes::cd_nrpe::selinux::config (puppet_class)">cd_nrpe::selinux::config</a></span>
|
||||
</div>
|
||||
|
||||
152
doc/puppet_classes/cd_nrpe_3A_3Amain_3A_3Aexec.html
Normal file
152
doc/puppet_classes/cd_nrpe_3A_3Amain_3A_3Aexec.html
Normal file
@@ -0,0 +1,152 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>
|
||||
Puppet Class: cd_nrpe::main::exec
|
||||
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
||||
|
||||
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
||||
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
pathId = "puppet_classes::cd_nrpe::main::exec";
|
||||
relpath = '../';
|
||||
</script>
|
||||
|
||||
|
||||
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
||||
|
||||
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="nav_wrap">
|
||||
<iframe id="nav" src="../puppet_class_list.html?1"></iframe>
|
||||
<div id="resizer"></div>
|
||||
</div>
|
||||
|
||||
<div id="main" tabindex="-1">
|
||||
<div id="header">
|
||||
<div id="menu">
|
||||
|
||||
<a href="../_index.html">Index (c)</a> »
|
||||
<span class='title'><span class='object_link'>Puppet Classes</span></span>
|
||||
»
|
||||
<span class="title">cd_nrpe::main::exec</span>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="search">
|
||||
|
||||
<a class="full_list_link" id="puppet_class_list_link"
|
||||
href="../puppet_class_list.html">
|
||||
|
||||
<svg width="24" height="24">
|
||||
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
||||
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
||||
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div id="content"><h1>Puppet Class: cd_nrpe::main::exec</h1>
|
||||
<div class="box_info">
|
||||
|
||||
<dl>
|
||||
<dt>Inherits:</dt>
|
||||
<dd><span class='object_link'><a href="cd_nrpe_3A_3Aparams.html" title="puppet_classes::cd_nrpe::params (puppet_class)">cd_nrpe::params</a></span></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl>
|
||||
<dt>Defined in:</dt>
|
||||
<dd>
|
||||
manifests/main/exec.pp
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<h2>Summary</h2>
|
||||
Class manages execs for cde_nrpe.
|
||||
|
||||
<h2>Overview</h2>
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nrpe::main::exec.pp Module name: cd_nrpe Author: Arne Teuke
|
||||
(arne_teuke@ConfDroid.com)</p>
|
||||
|
||||
<h1 id="label-License-3A">License:</h1>
|
||||
|
||||
<p>This file is part of cd_nrpe.</p>
|
||||
|
||||
<p>cd_nrpe is used for providing automatic configuration of NRPE. Copyright
|
||||
(C) 2016 ConfDroid (copyright@ConfDroid.com) This program is free
|
||||
software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation,
|
||||
either version 3 of the License, or (at your option) any later version.</p>
|
||||
|
||||
<p>This program is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
for more details.</p>
|
||||
|
||||
<p>You should have received a copy of the GNU General Public License along
|
||||
with this program. If not, see <a
|
||||
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tags">
|
||||
|
||||
|
||||
</div><div class="method_details_list">
|
||||
<table class="source_code">
|
||||
<tr>
|
||||
<td>
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
23
|
||||
24
|
||||
25
|
||||
26
|
||||
27
|
||||
28
|
||||
29</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/exec.pp', line 23</span>
|
||||
|
||||
class cd_nrpe::main::exec (
|
||||
|
||||
) inherits cd_nrpe::params {
|
||||
|
||||
# allow sudo
|
||||
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -172,7 +172,20 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
73
|
||||
74
|
||||
75
|
||||
76</pre>
|
||||
76
|
||||
77
|
||||
78
|
||||
79
|
||||
80
|
||||
81
|
||||
82
|
||||
83
|
||||
84
|
||||
85
|
||||
86
|
||||
87
|
||||
88
|
||||
89</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/files.pp', line 23</span>
|
||||
@@ -229,6 +242,19 @@ class cd_nrpe::main::files (
|
||||
seluser => system_u,
|
||||
content => template($ne_sudo_rule_erb),
|
||||
}
|
||||
|
||||
# file for sudo selinux policy
|
||||
file { $ne_nrpe_te_file:
|
||||
ensure => file,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0440',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => nrpe_etc_t,
|
||||
seluser => system_u,
|
||||
content => template($ne_nrpe_te_erb),
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
|
||||
@@ -69,6 +69,8 @@
|
||||
|
||||
<span class='object_link'><a href="cd_nrpe_3A_3Amain_3A_3Adirs.html" title="puppet_classes::cd_nrpe::main::dirs (puppet_class)">cd_nrpe::main::dirs</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="cd_nrpe_3A_3Amain_3A_3Aexec.html" title="puppet_classes::cd_nrpe::main::exec (puppet_class)">cd_nrpe::main::exec</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="cd_nrpe_3A_3Amain_3A_3Auser.html" title="puppet_classes::cd_nrpe::main::user (puppet_class)">cd_nrpe::main::user</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="cd_nrpe_3A_3Amain_3A_3Afiles.html" title="puppet_classes::cd_nrpe::main::files (puppet_class)">cd_nrpe::main::files</a></span><br/>
|
||||
@@ -924,7 +926,9 @@ needed.</p>
|
||||
181
|
||||
182
|
||||
183
|
||||
184</pre>
|
||||
184
|
||||
185
|
||||
186</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 101</span>
|
||||
@@ -1007,6 +1011,8 @@ $ne_cmd_head_erb = 'cd_nrpe/cmd_head.erb'
|
||||
$ne_cmd_rule_erb = 'cd_nrpe/cmd_rule.erb'
|
||||
$ne_sudo_file = '/etc/sudoers.d/nagios_sudo'
|
||||
$ne_sudo_rule_erb = 'cd_nrpe/sudo_rule.erb'
|
||||
$ne_nrpe_te_file = '/etc/nrpe/nrpe.te'
|
||||
$ne_nrpe_te_erb = 'cd_nrpe/nrpe.te.erb'
|
||||
|
||||
# includes must be last
|
||||
|
||||
|
||||
Reference in New Issue
Block a user