diff --git a/CHANGELOG.md b/CHANGELOG.md index 7383c35..a8b9655 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,16 @@ Changelog of Git Changelog.

No issue

+eb4176afa9e579b Jenkins ConfDroid 2018-04-12 10:52:18 +

+

recommit for updates in build 1

+ +

+fb3ee3d3d31efd0 Arne Teuke 2018-04-12 10:51:20 +

+

added development branch

+ +

4039dedace9d0c2 Jenkins Server 2017-07-30 20:29:53

recommit for updates in build 63

diff --git a/REPOSTRUCTURE.md b/REPOSTRUCTURE.md index 8b13789..ec89e96 100644 --- a/REPOSTRUCTURE.md +++ b/REPOSTRUCTURE.md @@ -1 +1,67 @@ +. +|-- doc +| |-- css +| | |-- common.css +| | |-- full_list.css +| | `-- style.css +| |-- js +| | |-- app.js +| | |-- full_list.js +| | `-- jquery.js +| |-- puppet_classes +| | |-- cd_nrpe_3A_3Acommands_3A_3Adefinition_rules.html +| | |-- cd_nrpe_3A_3Acommands_3A_3Adefinitions.html +| | |-- cd_nrpe_3A_3Afirewall_3A_3Aiptables.html +| | |-- cd_nrpe_3A_3Amain_3A_3Aconfig.html +| | |-- cd_nrpe_3A_3Amain_3A_3Adirs.html +| | |-- cd_nrpe_3A_3Amain_3A_3Afiles.html +| | |-- cd_nrpe_3A_3Amain_3A_3Ainstall.html +| | |-- cd_nrpe_3A_3Amain_3A_3Aservice.html +| | |-- cd_nrpe_3A_3Amain_3A_3Auser.html +| | |-- cd_nrpe_3A_3Amainn_3A_3Auser.html +| | |-- cd_nrpe_3A_3Aparams.html +| | |-- cd_nrpe_3A_3Aselinux_3A_3Aconfig.html +| | |-- cd_nrpe_3A_3Auser.html +| | `-- cd_nrpe.html +| |-- puppet_defined_types +| | `-- cd_nrpe_3A_3Acommands_3A_3Adefinitions.html +| |-- file.README.html +| |-- frames.html +| |-- _index.html +| |-- index.html +| |-- puppet_class_list.html +| |-- puppet_defined_type_list.html +| `-- top-level-namespace.html +|-- manifests +| |-- commands +| | |-- definition_rules.pp +| | `-- definitions.pp +| |-- firewall +| | `-- iptables.pp +| |-- main +| | |-- config.pp +| | |-- dirs.pp +| | |-- files.pp +| | |-- install.pp +| | |-- service.pp +| | `-- user.pp +| |-- selinux +| | `-- config.pp +| |-- init.pp +| `-- params.pp +|-- templates +| |-- cmd_head.erb +| |-- cmd_rule.erb +| |-- nrpe_cfg.erb +| |-- nrpe_conf.erb +| `-- sudo_rule.erb +|-- tests +| `-- UTF_Files +|-- CHANGELOG.md +|-- Gemfile +|-- Gemfile.lock +|-- Jenkinsfile +|-- LICENSE +`-- README.md +12 directories, 52 files diff --git a/doc/_index.html b/doc/_index.html index a6e5386..5161d6c 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -4,7 +4,7 @@ - Documentation by YARD 0.9.12 + Documentation by YARD 0.9.16 @@ -52,7 +52,7 @@
-

Documentation by YARD 0.9.12

+

Documentation by YARD 0.9.16

Alphabetic Index

@@ -159,6 +159,8 @@ + +

File Listing

    diff --git a/doc/css/style.css b/doc/css/style.css index 57e8f9d..0bf7e2c 100644 --- a/doc/css/style.css +++ b/doc/css/style.css @@ -245,6 +245,7 @@ ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; } dl.constants { margin-left: 10px; } dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; } +dl.constants.compact dt { display: inline-block; font-weight: normal } dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; } dl.constants .docstring .note:first-child { margin-top: 5px; } @@ -326,13 +327,9 @@ ul.summary a, ul.summary a:visited { text-decoration: none; font-size: 1.1em; } ul.summary li { margin-bottom: 5px; } -.summary .summary_signature { - padding: 4px 8px; - background: #f8f8f8; - border: 1px solid #f0f0f0; - border-radius: 5px; -} +.summary_signature { padding: 4px 8px; background: #f8f8f8; border: 1px solid #f0f0f0; border-radius: 5px; } .summary_signature:hover { background: #CFEBFF; border-color: #A4CCDA; cursor: pointer; } +.summary_signature.deprecated { background: #ffe5e5; border-color: #e9dada; } ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;} ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; } #content .summary_signature:hover a, @@ -485,7 +482,7 @@ pre.code .rubyid_nth_ref { color: #6D79DE; } pre.code .regexp, .dregexp { color: #036A07; } pre.code a { border-bottom: 1px dotted #bbf; } /* inline code */ -p > code { +*:not(pre) > code { padding: 1px 3px 1px 3px; border: 1px solid #E1E1E8; background: #F7F7F9; diff --git a/doc/file.README.html b/doc/file.README.html index ae49e41..754dfcc 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -6,7 +6,7 @@ File: README - — Documentation by YARD 0.9.12 + — Documentation by YARD 0.9.16 @@ -58,12 +58,9 @@
-

|Repo Name| version | Build -Status| -|---|---|---|---| -|cd_nrpe| 0.0.1.1 | {Build -Status/]|

+

|Repo Name| version | Build Status| |—|—|—|—| |cd_nrpe| +0.0.1.1 | |

Synopsis

@@ -85,65 +82,54 @@ production!!! __**

Table of Contents

Features

-

INSTALLATION -* install nrpe binaries

+

INSTALLATION * install nrpe binaries

-

CONFIGURATION -* manage NRPE service user properties -* manage directory -structure (file system permissions, selinux context) through parameters -* -manage configuration files through parameters: - * nrpe.conf - * nrpe.cfg -* -manage sudo role for nagios user on NRPE clients -* manage dynamic NRPE -check command definitions -* manage iptables (optional) -* manage selinux +

CONFIGURATION * manage NRPE service user properties * manage directory +structure (file system permissions, selinux context) through parameters * +manage configuration files through parameters: * nrpe.conf * nrpe.cfg * +manage sudo role for nagios user on NRPE clients * manage dynamic NRPE +check command definitions * manage iptables (optional) * manage selinux rule exceptions (optional)

-

SERVICE -* manage NRPE service

+

SERVICE * manage NRPE service

Repo Structure

@@ -185,10 +171,10 @@ Only if you want to override settings declare it specifically.

via site.pp or nodes.pp

node 'example.example.net' {
-  include cd_puppetdb
+  include nrpe
 }
-

through Foreman:

+

through Foreman:

In order to apply parameters through Foreman, cd_nrpe::params must be added to the host or hostgroup in @@ -203,7 +189,7 @@ details about class deployment on Confdroid.com.

The following parameters are editable via params.pp or through ENC (recommended). Values changed will take immediate effect at next puppet run. Services will be restarted where neccessary. If you -want to override parameters, the module must be +want to override parameters, the module must be specifically declared to hosts when using ENC.

The full list @@ -229,7 +215,7 @@ through this modules. Defaults to true.

rules. Defaults to true.

  • $ne_enable_ssl : Whether to allow SSL settings. See known problems for more details.

    +href="#label-Konwn+problems">known problems for more details.

  • $ne_allow_sudo : Whether to allow the nagios / nrpe user to use sudo by default. Controls both the @@ -251,24 +237,17 @@ all commands are set via argument strings, where possible.

    The commands are created within /etc/nrpe.d/command.cfg , every set of instructions creates a new line.

    -

    Defining commands is as simple as -that: -<code> -cd_nrpe::commands::definitions { 'check_users': - -ne_check_cmd => 'check_users', - ne_cmd_argstring -=> '-w $ARG1$ -c $ARG2$', - } -</code> -It is very -recommendable to define such commands directly within Puppet modules or -profiles, so any node running the particular service controlled by the -module will automatically get the required check commands defined as well, -while nodes not running the service also do not contain the command check. -The same then is true for Nagios checks, so you would have both the NRPE -command definition and the Nagios check contained in Puppet modules or -profiles to have it in once location.

    +

    Defining commands is as simple as that: +cd_nrpe::commands::definitions { 'check_users': ne_check_cmd +=> 'check_users', ne_cmd_argstring => '-w $ARG1$ +-c $ARG2$', } It is very recommendable to define such +commands directly within Puppet modules or profiles, so any node running +the particular service controlled by the module will automatically get the +required check commands defined as well, while nodes not running the +service also do not contain the command check. The same then is true for +Nagios checks, so you would have both the NRPE command definition and the +Nagios check contained in Puppet modules or profiles to have it in once +location.

    SELINUX

    @@ -348,8 +327,7 @@ with PuppetDB (see tests/UTF_Files)

    ConfDroid as entity is entirely independent from Puppet. We provide custom configuration modules, written for specific purposes and specific -environments. -The modules are tested and supported only as documented, and +environments. The modules are tested and supported only as documented, and require testing in designated environments (i.e. lab or development environments) for parameter tuning etc. before deploying into production environments.

    diff --git a/doc/frames.html b/doc/frames.html index 42ca6b6..b57c778 100644 --- a/doc/frames.html +++ b/doc/frames.html @@ -2,7 +2,7 @@ - Documentation by YARD 0.9.12 + Documentation by YARD 0.9.16