From fc2fa8123911d6d432425f967fdbdf61a1bd06d1 Mon Sep 17 00:00:00 2001 From: Jenkins ConfDroid Date: Tue, 23 Apr 2019 20:24:43 +0200 Subject: [PATCH] recommit for updates in build 7 --- CHANGELOG.md | 10 ++ REPOSTRUCTURE.md | 4 +- doc/_index.html | 5 + doc/puppet_class_list.html | 19 ++- .../cd_nrpe_3A_3Amain_3A_3Aexec.html | 152 ++++++++++++++++++ .../cd_nrpe_3A_3Amain_3A_3Afiles.html | 28 +++- doc/puppet_classes/cd_nrpe_3A_3Aparams.html | 8 +- 7 files changed, 217 insertions(+), 9 deletions(-) create mode 100644 doc/puppet_classes/cd_nrpe_3A_3Amain_3A_3Aexec.html diff --git a/CHANGELOG.md b/CHANGELOG.md index a2d4e03..afb1a9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,16 @@ Changelog of Git Changelog.

No issue

+89870ad52dac870 Jenkins ConfDroid 2019-04-10 18:39:32 +

+

recommit for updates in build 6

+ +

+b7d84c1fd9226c5 Arne Teuke 2019-04-10 18:38:51 +

+

removes firewall control

+ +

52b020afe793983 Jenkins ConfDroid 2019-04-10 18:28:35

recommit for updates in build 5

diff --git a/REPOSTRUCTURE.md b/REPOSTRUCTURE.md index ec89e96..c20fc64 100644 --- a/REPOSTRUCTURE.md +++ b/REPOSTRUCTURE.md @@ -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 diff --git a/doc/_index.html b/doc/_index.html index 5161d6c..a20317e 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -93,6 +93,11 @@ +
  • + cd_nrpe::main::exec + +
  • +
  • cd_nrpe::main::files diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index fdfed85..a7c8bfe 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -75,42 +75,49 @@
  • -
  • +
  • + +
  • + + +
  • -
  • +
  • -
  • +
  • -
  • +
  • -
  • +
  • -
  • +
  • diff --git a/doc/puppet_classes/cd_nrpe_3A_3Amain_3A_3Aexec.html b/doc/puppet_classes/cd_nrpe_3A_3Amain_3A_3Aexec.html new file mode 100644 index 0000000..83e060c --- /dev/null +++ b/doc/puppet_classes/cd_nrpe_3A_3Amain_3A_3Aexec.html @@ -0,0 +1,152 @@ + + + + + + + Puppet Class: cd_nrpe::main::exec + + — Documentation by YARD 0.9.16 + + + + + + + + + + + + + + + + + + + +
    + + +

    Puppet Class: cd_nrpe::main::exec

    +
    + +
    +
    Inherits:
    +
    cd_nrpe::params
    +
    + + +
    +
    Defined in:
    +
    + manifests/main/exec.pp +
    +
    +
    + +

    Summary

    + Class manages execs for cde_nrpe. + +

    Overview

    +
    +
    + +

    cd_nrpe::main::exec.pp Module name: cd_nrpe Author: Arne Teuke +(arne_teuke@ConfDroid.com)

    + +

    License:

    + +

    This file is part of cd_nrpe.

    + +

    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.

    + +

    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.

    + +

    You should have received a copy of the GNU General Public License along +with this program. If not, see www.gnu.org/licenses/.

    + +
    +
    + + +
    + + +
    + + + + + +
    +
    +
    +
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +
    +
    # File 'manifests/main/exec.pp', line 23
    +
    +class cd_nrpe::main::exec (
    +
    +) inherits cd_nrpe::params {
    +
    +  # allow sudo
    +
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file diff --git a/doc/puppet_classes/cd_nrpe_3A_3Amain_3A_3Afiles.html b/doc/puppet_classes/cd_nrpe_3A_3Amain_3A_3Afiles.html index d1e99e9..1ff9390 100644 --- a/doc/puppet_classes/cd_nrpe_3A_3Amain_3A_3Afiles.html +++ b/doc/puppet_classes/cd_nrpe_3A_3Amain_3A_3Afiles.html @@ -172,7 +172,20 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.

    73 74 75 -76 +76 +77 +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89
    # File 'manifests/main/files.pp', line 23
    @@ -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),
    +    }
       }
     }
    diff --git a/doc/puppet_classes/cd_nrpe_3A_3Aparams.html b/doc/puppet_classes/cd_nrpe_3A_3Aparams.html index 047c6ed..97089a0 100644 --- a/doc/puppet_classes/cd_nrpe_3A_3Aparams.html +++ b/doc/puppet_classes/cd_nrpe_3A_3Aparams.html @@ -69,6 +69,8 @@ cd_nrpe::main::dirs
    + cd_nrpe::main::exec
    + cd_nrpe::main::user
    cd_nrpe::main::files
    @@ -924,7 +926,9 @@ needed.

    181 182 183 -184 +184 +185 +186
    # File 'manifests/params.pp', line 101
    @@ -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