diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8e4fcb8..f86b0e4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,37 +8,132 @@ Changelog of Git Changelog.
Documentation by YARD 0.9.9
+
Documentation by YARD 0.9.12
diff --git a/doc/css/style.css b/doc/css/style.css
index f682a69..57e8f9d 100644
--- a/doc/css/style.css
+++ b/doc/css/style.css
@@ -484,6 +484,13 @@ pre.code .rubyid_backref,
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 {
+ padding: 1px 3px 1px 3px;
+ border: 1px solid #E1E1E8;
+ background: #F7F7F9;
+ border-radius: 4px;
+}
/* Color fix for links */
#content .summary_desc pre.code .id > .object_link a, /* identifier */
diff --git a/doc/file.README.html b/doc/file.README.html
index 94e5f4b..1ca5318 100644
--- a/doc/file.README.html
+++ b/doc/file.README.html
@@ -6,7 +6,7 @@
File: README
- — Documentation by YARD 0.9.9
+ — Documentation by YARD 0.9.12
@@ -62,7 +62,7 @@
Status|
|---|---|---|---|
|
cd_nagios| 0.0.1.9 |
{Build
+href="https://pipelines.confdroid.com/buildStatus/icon?job=cd_nagios">{Build
Status/]|
Synopsis
@@ -89,7 +89,7 @@ production!!! __**
Features
Repo
+href="https://gitlab.confdroid.com/12WW1160/cd_nagios/blob/master/REPOSTRUCTURE.md">Repo
Structure
Dependencies
@@ -125,7 +125,7 @@ Structure
Tests
Changelog
+href="https://gitlab.confdroid.com/12WW1160/cd_nagios/blob/master/CHANGELOG.md">Changelog
Contact Us
@@ -184,7 +184,9 @@ define, to avoid having to alter the module code.
* configure forwarding
http to https including accesing the /nagios url directly (optional)
*
-manage TLS certificates through certbot (optional)
+manage TLS certificates through certbot (optional)
+* manage
+$user$ arguments in resource file via define
Service
* manage Nagios service on server
@@ -212,31 +214,30 @@ clients:
All dependencies must be included in the catalogue.
@@ -248,7 +249,7 @@ concat to concatenate configuration files from different sources.
via site.pp or nodes.pp
node 'example.example.net' {
- include cd_puppetdb
+ include cd_nagios
}
through Foreman:
@@ -288,7 +289,7 @@ Nagios server to connect to clients. Defaults to true.
Requires puppetlabs
firewall or cd_firewall,
+href="https://gitlab.confdroid.com/12WW1160/cd_firewall">cd_firewall,
which is a backdated clone of the puppetlabs firewall but tested to be
fully functioning with all our features.
@@ -301,8 +302,8 @@ list of all available parameters.
A working instance of PuppetDBconnected to the Puppet master is required
for this to work. Installation and configuration of PuppetDB is out of
scope for this module, however cd_puppetdb
-is available to automate this task for you as well within a few minutes.
+href="https://gitlab.confdroid.com/12WW1160/cd_puppetdb">cd_puppetdb is
+available to automate this task for you as well within a few minutes.
SELINUX
@@ -346,6 +347,10 @@ required firewall port on clients (optional,default).
Manage Additional Resources
Known Problems
+
Support
-
@@ -404,9 +409,7 @@ environments.
diff --git a/doc/frames.html b/doc/frames.html
index 0cb1371..42ca6b6 100644
--- a/doc/frames.html
+++ b/doc/frames.html
@@ -2,7 +2,7 @@
+
+
+
Puppet Class: cd_nagios::nagios::resources::resource
+
+
+
+ - Inherits:
+ - cd_nagios::params
+
+
+
+
+ - Defined in:
+ -
+ manifests/nagios/resources/resource.pp
+
+
+
+
+
Summary
+ Class manages the resource config file header.
+
+
Overview
+
+
+
+
cd_nagios::nagios::resources::resource.pp
+Module name: cd_nagios
+Author:
+Arne Teuke (arne_teuke@ConfDroid.com)
+
+
License:
+
+
This file is part of cd_nagios.
+
+
cd_nagios is used for providing automatic configuration of Nagios
+
+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
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+ |
+
+ # File 'manifests/nagios/resources/resource.pp', line 28
+
+class cd_nagios::nagios::resources::resource (
+
+) inherits cd_nagios::params {
+
+ if $fqdn == $ng_nagios_server {
+
+ concat { $ng_resource_file:
+ ensure => present,
+ owner => 'root',
+ group => $ng_user,
+ mode => '0640',
+ selrange => s0,
+ selrole => object_r,
+ seltype => nagios_etc_t,
+ seluser => system_u,
+ notify => Service[$ng_service],
+ }
+
+ concat::fragment { 'header':
+ target => $ng_resource_file,
+ content => template($ng_resource_erb),
+ order => '000',
+ }
+
+ # plugins rule
+
+ cd_nagios::nagios::resources::resource_df { 'user_rule_plugins':
+ ng_user_arg_name => 'user1',
+ ng_user_arg_value => '/usr/lib64/nagios/plugins',
+ ng_user_arg_comment => 'Sets user1 to be the path to the plugins',
+ }
+
+ # eventhandlers rule
+ cd_nagios::nagios::resources::resource_df { 'user_rule_eventhandlers':
+ ng_user_arg_name => 'user2',
+ ng_user_arg_value => '/usr/lib64/nagios/plugins/eventhandlers',
+ ng_user_arg_comment => 'Sets user2 to be the path to the eventhandlers',
+ }
+ }
+}
+ |
+
+
+
+
+
+
+
+
+
+