Documentation by YARD 0.9.9
+Alphabetic Index
+ +Puppet Class Listing A-Z
+ + +
+
+
+
|
+
File Listing
+-
+
+
+
- README + + +
From f508f7e8df75a2eded115f12638e15eba675bbca Mon Sep 17 00:00:00 2001
From: Jenkins Server
+Changelog of Git Changelog.
+
+ Git Changelog changelog
+
+ Unreleased
+ No issue
+
+
+2b52108c23634b2 Arne Teuke 2017-07-28 13:08:13
+initial commit
+
+
+
+
+
|
+
| t |
+ + + +24 +25 +26+ |
+
+ # File 'manifests/init.pp', line 24
+
+class cd_nrpe {
+ include cd_nrpe::params
+}
+ |
+
cd_nrpe::main::config.pp +Module name: cd_nrpe +Author: Arne Teuke +(arne_teuke@ConfDroid.com)
+ +This file is part of cd_nrpe.
+ +cd_nrpe is used for providing automatic configuration of + <service / +purpose> + 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/.
+ +
+ + + +25 +26 +27 +28 +29 +30 +31+ |
+
+ # File 'manifests/main/config.pp', line 25
+
+class cd_nrpe::main::config (
+
+) inherits cd_nrpe::params {
+
+ include cd_nrpe::user
+
+}
+ |
+
cd_nrpe::main::install.pp +Module name: cd_nrpe +Author: Arne Teuke +(arne_teuke@ConfDroid.com)
+ +This file is part of cd_nrpe.
+ +cd_nrpe is used for providing automatic configuration of + <service / +purpose> + 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/.
+ +
+ + + +25 +26 +27 +28 +29 +30 +31 +32 +33 +34+ |
+
+ # File 'manifests/main/install.pp', line 25
+
+class cd_nrpe::main::install (
+
+) inherits cd_nrpe::params {
+
+ require cd_resources
+
+ package {$reqpackages:
+ ensure => $pkg_ensure,
+ }
+}
+ |
+
cd_nrpe::params.pp +Module name: cd_nrpe +Author: Arne Teuke +(arne_teuke@ConfDroid.com)
+ +This file is part of cd_nrpe.
+ +cd_nrpe is used for providing automatic configuration of + <service / +purpose> + 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/.
+ +
+ + + +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51+ |
+
+ # File 'manifests/params.pp', line 28
+
+class cd_nrpe::params (
+
+$pkg_ensure = 'latest',
+
+# user settings
+$ne_user = 'nrpe',
+$ne_user_comment = 'NRPE service user',
+$ne_user_uid = '1005',
+$ne_user_home = '/var/run/nagios',
+$ne_user_groups = undef,
+$ne_user_shell = '/sbin/nologin',
+
+) {
+
+# installation section
+$reqpackages = $::operatingsystem ? {
+ /(?i-mx:centos|fedora|redhat)/ => ['nrpe'],
+ }
+
+# includes must be last
+
+ include cd_nrpe::main::config
+
+}
+ |
+
cd_nrpe::user.pp +Module name: cd_nrpe +Author: Arne Teuke +(arne_teuke@ConfDroid.com)
+ +This file is part of cd_nrpe.
+ +cd_nrpe is used for providing automatic configuration of + <service / +purpose> + 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/.
+ +
+ + + +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50+ |
+
+ # File 'manifests/main/user.pp', line 24
+
+class cd_nrpe::user (
+
+) inherits cd_nrpe::params {
+
+ require cd_nrpe::main::install
+
+ group { $ne_user:
+ ensure => present,
+ name => $ne_user,
+ gid => $ne_user_uid,
+ allowdupe => false,
+ }
+
+ user { $ne_user:
+ ensure => present,
+ name => $ne_user,
+ allowdupe => false,
+ comment => $ne_user_comment,
+ uid => $ne_user_uid,
+ gid => $ne_user,
+ groups => $ne_user_groups,
+ managehome => true,
+ home => $ne_user_home,
+ shell => $ne_user_shell,
+ require => Group[$ne_user],
+ }
+}
+ |
+
-
+
+
cd_nrpe::main::user.pp +Module name: cd_nrpe +Author: Arne Teuke +(arne_teuke@ConfDroid.com)
+ +This file is part of cd_nrpe.
+ +cd_nrpe is used for providing automatic configuration of + <service / +purpose> + 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/.
+ +
+ + + +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50+ |
+
+ # File 'manifests/main/user.pp', line 24
+
+class cd_nrpe::mainn::user (
+
+) inherits cd_nrpe::params {
+
+ require cd_nrpe::main::install
+
+ group { $ne_user:
+ ensure => present,
+ name => $ne_user,
+ gid => $ne_user_uid,
+ allowdupe => false,
+ }
+
+ user { $ne_user:
+ ensure => present,
+ name => $ne_user,
+ allowdupe => false,
+ comment => $ne_user_comment,
+ uid => $ne_user_uid,
+ gid => $ne_user,
+ groups => $ne_user_groups,
+ managehome => true,
+ home => $ne_user_home,
+ shell => $ne_user_shell,
+ require => Group[$ne_user],
+ }
+}
+ |
+
+
+
cd_nrpe::main::user.pp +Module name: cd_nrpe +Author: Arne Teuke +(arne_teuke@ConfDroid.com)
+ +This file is part of cd_nrpe.
+ +cd_nrpe is used for providing automatic configuration of + <service / +purpose> + 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/.
+ +
+ + + +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50+ |
+
+ # File 'manifests/main/user.pp', line 24
+
+class cd_nrpe::main::user (
+
+) inherits cd_nrpe::params {
+
+ require cd_nrpe::main::install
+
+ group { $ne_user:
+ ensure => present,
+ name => $ne_user,
+ gid => $ne_user_uid,
+ allowdupe => false,
+ }
+
+ user { $ne_user:
+ ensure => present,
+ name => $ne_user,
+ allowdupe => false,
+ comment => $ne_user_comment,
+ uid => $ne_user_uid,
+ gid => $ne_user,
+ groups => $ne_user_groups,
+ managehome => true,
+ home => $ne_user_home,
+ shell => $ne_user_shell,
+ require => Group[$ne_user],
+ }
+}
+ |
+