add Jenkinsfile

This commit is contained in:
12WW1160
2020-12-02 18:44:21 +01:00
parent 4a79d9cbe4
commit 23a51cc1c5
2 changed files with 12 additions and 1341 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,4 @@
|Repo Name| version | Build Status|
|---|---|---|---|
|`cd_nagios`| 1.1.1.3 | [![Build Status](https://pipelines.confdroid.com/buildStatus/icon?job=cd_nagios)](https://pipelines.confdroid.com/job/cd_nagios/)|
[![Build Status](https://pipelines.confdroid.com/buildStatus/icon?job=cd_nagios)](https://pipelines.confdroid.com/job/cd_nagios/)
### Synopsis
Nagios is a powerful open source software solution for monitoring your IT environments.
@@ -13,7 +11,7 @@ Nagios is a powerful open source software solution for monitoring your IT enviro
### Table of Contents
* [Features](#features)
* [Repo Structure](https://gitlab.confdroid.com/12WW1160/cd_nagios/blob/master/REPOSTRUCTURE.md)
* [Repo Structure](https://sourcecode.confdroid.com/12WW1160/cd_nagios/blob/master/REPOSTRUCTURE.md)
* [Dependencies](#dependencies)
* [Deployment](#deployment)
* [native Puppet deployment](#native-puppet-deployment)
@@ -30,7 +28,6 @@ Nagios is a powerful open source software solution for monitoring your IT enviro
* [Known Problems](#known-problems)
* [Support](#support)
* [Tests](#tests)
* [Changelog](https://gitlab.confdroid.com/12WW1160/cd_nagios/blob/master/CHANGELOG.md)
* [Contact Us](https://confdroid.com/contact/)
* [Disclaimer](#disclaimer)
@@ -87,14 +84,14 @@ Repostructure has moved to REPOSTRUCTURE.md in repo.
### Dependencies
All dependencies must be included in the catalogue.
* [cd_resources](https://gitlab.confdroid.com/12WW1160/cd_resources) for Yum repos.
* [cd_apache](https://gitlab.confdroid.com/12WW1160/cd_apache) for installing httpd
* [cd_firewall](https://gitlab.confdroid.com/12WW1160/cd_firewall) or [puppetlabs firewall](https://github.com/puppetlabs/puppetlabs-firewall) (optional)
* [cd_selinux](https://gitlab.confdroid.com/12WW1160/cd_selinux) for selinux policy adjustments
* [cd_certbot](https://gitlab.confdroid.com/12WW1160/cd_certbot) to auto-manage TLS certificates (optional)
* [cd_nrpe](https://gitlab.confdroid.com/12WW1160/cd_nrpe) to manage NRPE (optional)
* [cd_stdlib](https://gitlab.confdroid.com/12WW1160/cd_stdlib) or [puppetlabs stdlib](https://github.com/puppetlabs/puppetlabs-stdlib) to facilitate concat
* [cd-concat](https://gitlab.confdroid.com/12WW1160/cd_stdlib) or [puppetlabs concat](https://github.com/puppetlabs/puppetlabs-concat) to concatenate configuration files from different sources.
* [cd_resources](https://sourcecode.confdroid.com/12WW1160/cd_resources) for Yum repos.
* [cd_apache](https://sourcecode.confdroid.com/12WW1160/cd_apache) for installing httpd
* [cd_firewall](https://sourcecode.confdroid.com/12WW1160/cd_firewall) or [puppetlabs firewall](https://github.com/puppetlabs/puppetlabs-firewall) (optional)
* [cd_selinux](https://sourcecode.confdroid.com/12WW1160/cd_selinux) for selinux policy adjustments
* [cd_certbot](https://sourcecode.confdroid.com/12WW1160/cd_certbot) to auto-manage TLS certificates (optional)
* [cd_nrpe](https://sourcecode.confdroid.com/12WW1160/cd_nrpe) to manage NRPE (optional)
* [cd_stdlib](https://sourcecode.confdroid.com/12WW1160/cd_stdlib) or [puppetlabs stdlib](https://github.com/puppetlabs/puppetlabs-stdlib) to facilitate concat
* [cd-concat](https://sourcecode.confdroid.com/12WW1160/cd_stdlib) or [puppetlabs concat](https://github.com/puppetlabs/puppetlabs-concat) to concatenate configuration files from different sources.
### Deployment
@@ -125,13 +122,13 @@ The following parameters must be set to make the module logic work properly:
#### Optional Parameters
* `$ng_include_nrpe` : Whether to include NRPE as means for the Nagios server to connect to clients. Defaults to `true`.
* `$ng_include_fw` : Whether to include firewall management. Requires [puppetlabs firewall](https://github.com/puppetlabs/puppetlabs-firewall) or [cd_firewall](https://gitlab.confdroid.com/12WW1160/cd_firewall), which is a backdated clone of the puppetlabs firewall but tested to be fully functioning with all our features.
* `$ng_include_fw` : Whether to include firewall management. Requires [puppetlabs firewall](https://github.com/puppetlabs/puppetlabs-firewall) or [cd_firewall](https://sourcecode.confdroid.com/12WW1160/cd_firewall), which is a backdated clone of the puppetlabs firewall but tested to be fully functioning with all our features.
See the [full list of all available parameters](https://confdroid.com/2017/07/cd_nagios-parameters/).
### PuppetDB
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](https://gitlab.confdroid.com/12WW1160/cd_puppetdb) is available to automate this task for you as well within a few minutes.
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](https://sourcecode.confdroid.com/12WW1160/cd_puppetdb) is available to automate this task for you as well within a few minutes.
### SELINUX
All files and directories are configured with correct selinux context. If selinux is disabled, these contexts are ignored.