diff --git a/CHANGELOG.md b/CHANGELOG.md index 1640d00..d436f80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,137 +8,372 @@ Changelog of Git Changelog.

No issue

-5556fd1ec6fdd8d Jenkins Server 2017-07-11 17:12:52 +012b3bc5abd7135 Jenkins ConfDroid 2018-12-07 13:00:07 +

+

recommit for updates in build 18

+ +

+2860613dee44472 Arne Teuke 2018-12-07 12:59:18 +

+

updates Gems and jenkinsfile

+ +

+30b817aca81fb10 Jenkins ConfDroid 2018-08-26 15:42:58

recommit for updates in build 17

-08da1c5e7004f15 Arne Teuke 2017-07-11 17:12:23 -

-

finalised this stage

- -

-c1963582f006a9d Jenkins Server 2017-07-11 17:08:47 +52a7b063c5eb39e Jenkins ConfDroid 2018-08-26 14:59:39

recommit for updates in build 16

-19a1a86f2a3907b Arne Teuke 2017-07-11 17:06:45 +0cbf406e0c7e338 Jenkins ConfDroid 2018-04-29 11:27:23

-

finalised this stage

+

recommit for updates in build 15

-f1988c6272ba4a6 Jenkins Server 2017-07-11 17:01:52 +6561f83e5776205 Jenkins ConfDroid 2018-04-22 11:37:29

recommit for updates in build 14

-834532297866d17 Arne Teuke 2017-07-11 17:01:19 +919da3fa12c779d Jenkins ConfDroid 2018-04-20 13:36:40 +

+

recommit for updates in build 13

+ +

+b1c568cd7496c81 Jenkins ConfDroid 2018-04-20 13:06:29 +

+

recommit for updates in build 12

+ +

+2bb44883aea41a2 Jenkins ConfDroid 2018-04-20 12:34:38 +

+

recommit for updates in build 11

+ +

+bda93d7ed4ba721 Jenkins ConfDroid 2018-04-20 12:28:23 +

+

recommit for updates in build 10

+ +

+de3bea84c4042da Jenkins ConfDroid 2018-04-20 09:50:58 +

+

recommit for updates in build 9

+ +

+58e6948571d77fd Jenkins ConfDroid 2018-04-20 09:41:16 +

+

recommit for updates in build 8

+ +

+a23a3bc4c150283 Jenkins ConfDroid 2018-04-20 09:36:16 +

+

recommit for updates in build 7

+ +

+3e4c6a15e5f8440 Jenkins ConfDroid 2018-04-20 08:32:51 +

+

recommit for updates in build 5

+ +

+0ea5a3a76907b09 Jenkins ConfDroid 2018-04-20 08:06:28 +

+

recommit for updates in build 4

+ +

+921eeddd761dc4c Jenkins ConfDroid 2018-04-10 11:21:33 +

+

recommit for updates in build 3

+ +

+62260e329bcf99e Jenkins ConfDroid 2018-04-10 11:06:02 +

+

recommit for updates in build 2

+ +

+406a049bcef19c7 Jenkins ConfDroid 2018-04-10 10:56:53 +

+

recommit for updates in build 1

+ +

+ +

1.1.2.8

+

No issue

+ + +9800b1e5852d423 Arne Teuke 2018-08-26 15:42:08 +

+

updates the package selection to be overridable, and up's the version

+ +

+4e9b86a23ab5b0b Arne Teuke 2018-08-26 14:58:47 +

+

updates README

+ +

+2e9afa83494de05 Arne Teuke 2018-04-29 11:27:51 +

+

updates mode

+ +

+b81fe0378166aa3 Arne Teuke 2018-04-22 11:37:24 +

+

updates frewall boolean

+ +

+f04a11e0235305f Arne Teuke 2018-04-20 13:36:33 +

+

adds host

+ +

+e4b2e01417b6d6f Arne Teuke 2018-04-20 13:06:22 +

+

updates ssl.conf template

+ +

+af6b2bce18fab26 Arne Teuke 2018-04-20 12:34:34 +

+

updates ssl.conf template

+ +

+50bfdc55168e8e6 Arne Teuke 2018-04-20 12:28:20 +

+

updates ssl.conf template

+ +

+be8985caf3870db Arne Teuke 2018-04-20 09:50:50 +

+

adds firewall requirememt

+ +

+2e35b87cc14bccd Arne Teuke 2018-04-20 09:41:13 +

+

fixes typo

+ +

+5977dab8c8432e5 Arne Teuke 2018-04-20 09:36:10 +

+

fixes typo

+ +

+dddb9afc18a15d6 Arne Teuke 2018-04-20 09:30:48 +

+

adds fw rules here to ensure fw is managed on apache lavel instead application level

+ +

+1c46f1634da0b5a Arne Teuke 2018-04-20 08:32:45 +

+

adds empty index.html

+ +

+ +

0.0.1.8

+

No issue

+ + +e68298bc5c126fc Arne Teuke 2018-04-20 08:06:12 +

+

adds nagios target

+ +

+1118729c9640ecb Arne Teuke 2018-04-10 11:20:56 +

+

updates README

+ +

+84ca8d72b971661 Arne Teuke 2018-04-10 11:05:24 +

+

updates README

+ +

+5009ae57d917323 Arne Teuke 2018-04-10 10:56:10 +

+

added dev branch

+ +

+692569d70082d85 Jenkins Server 2017-07-11 17:27:24 +

+

recommit for updates in build 20

+ +

+5556fd1ec6fdd8d Jenkins Server 2017-07-11 17:12:52 +

+

recommit for updates in build 17

+ +

+08da1c5e7004f15 Arne Teuke 2017-07-11 17:12:23 +

+

finalised this stage

+ +

+c1963582f006a9d Jenkins Server 2017-07-11 17:08:47 +

+

recommit for updates in build 16

+ +

+19a1a86f2a3907b Arne Teuke 2017-07-11 17:06:45 +

+

finalised this stage

+ +

+f1988c6272ba4a6 Jenkins Server 2017-07-11 17:01:52 +

+

recommit for updates in build 14

+ +

+834532297866d17 Arne Teuke 2017-07-11 17:01:19

added one more step

+

+3764f0bef1450d2 Jenkins Server 2017-07-11 16:53:37 +

+

recommit for updates in build 12

+ +

+c9a26ad0546881e Arne Teuke 2017-07-11 16:53:03 +

+

enhanced test to keep a permanent list of UTF files in tests/UTF_Files

+ +

+a1b2032baaaf745 Jenkins Server 2017-07-11 16:32:16 +

+

recommit for updates in build 11

+ +

+c380f8f9960fa1a Jenkins Server 2017-07-10 18:00:02 +

+

recommit for updates in build 10

+ +

+df0edc483d0918b Arne Teuke 2017-07-10 17:59:32 +

+

converted LICENSE to ASCII

+ +

+ed5ca1113ea3170 Jenkins Server 2017-07-09 15:24:08 +

+

recommit for updates in build 9

+ +

+36dc5918e52df38 Jenkins Server 2017-07-07 16:41:30 +

+

recommit for updates in build 4

+ +

+3715b3a582a1a5a Arne Teuke 2017-07-07 16:40:31 +

+

updated README

+ +

+871d6e65baf4ec4 Jenkins Server 2017-07-07 16:38:35 +

+

recommit for updates in build 3

+ +

+a88ed09f423fbb7 Arne Teuke 2017-07-07 16:38:00 +

+

updated README

+ +

+e13154f0117c337 Jenkins Server 2017-07-07 15:22:20 +

+

recommit for updates in build 2

+ +

+ff758351baaf2af Jenkins Server 2017-07-07 15:18:31 +

+

recommit for updates in build 1

+ +

+f434a67d79dd236 Arne Teuke 2017-07-07 15:17:42 +

+

updated README and version

+ +

+44a6e4aa082511c Arne Teuke 2017-07-07 15:15:43 +

+

added Puppet documentation, Jenkinsfile and Gemfile for CI

+ +

+08e4559e677e0e7 Arne Teuke 2017-06-20 10:25:53 +

+

updated README

+ +

+ +

v0.0.1.7

+

No issue

+ + +4296733d3e34a37 Arne Teuke 2017-07-11 17:26:50 +

+

more improved testing

+ +

+387ab193a95da9e Arne Teuke 2017-07-11 17:24:39 +

+

more improved testing

+ +

+ +

v0.0.1.6

+

No issue

+ + +eacdc6522bc654c Arne Teuke 2017-07-11 17:14:21 +

+

updated README

+

v0.0.1.4

No issue

-114dd0f0b58ec6a Arne Teuke 2017-07-11 16:57:22 +114dd0f0b58ec6a Arne Teuke 2017-07-11 16:57:22

removed stale FileList

-7ba28eca8e1bd88 Arne Teuke 2017-07-11 16:56:04 +7ba28eca8e1bd88 Arne Teuke 2017-07-11 16:56:04

updated README and version

-

-3764f0bef1450d2 Jenkins Server 2017-07-11 16:53:37 -

-

recommit for updates in build 12

- -

-c9a26ad0546881e Arne Teuke 2017-07-11 16:53:03 -

-

enhanced test to keep a permanent list of UTF files in tests/UTF_Files

- -

-a1b2032baaaf745 Jenkins Server 2017-07-11 16:32:16 -

-

recommit for updates in build 11

- -

-c380f8f9960fa1a Jenkins Server 2017-07-10 18:00:02 -

-

recommit for updates in build 10

- -

-ed5ca1113ea3170 Jenkins Server 2017-07-09 15:24:08 -

-

recommit for updates in build 9

- -

-36dc5918e52df38 Jenkins Server 2017-07-07 16:41:30 -

-

recommit for updates in build 4

- -

-3715b3a582a1a5a Arne Teuke 2017-07-07 16:40:31 -

-

updated README

- -

-871d6e65baf4ec4 Jenkins Server 2017-07-07 16:38:35 -

-

recommit for updates in build 3

- -

-a88ed09f423fbb7 Arne Teuke 2017-07-07 16:38:00 -

-

updated README

- -

-e13154f0117c337 Jenkins Server 2017-07-07 15:22:20 -

-

recommit for updates in build 2

-

v0.0.1.3

No issue

-9b646162ae4c877 Arne Teuke 2017-07-11 16:31:45 +9b646162ae4c877 Arne Teuke 2017-07-11 16:31:45

added new Jenkins test to check for unwanted UTF8 files

-

-df0edc483d0918b Arne Teuke 2017-07-10 17:59:32 -

-

converted LICENSE to ASCII

-

v0.0.1.2

No issue

-ed7589fbfab9f48 Arne Teuke 2017-07-09 15:23:38 +ed7589fbfab9f48 Arne Teuke 2017-07-09 15:23:38

removed sites and simply added the examples

-fefd3a57ab1309e Arne Teuke 2017-07-09 15:22:04 +fefd3a57ab1309e Arne Teuke 2017-07-09 15:22:04

removed sites and simply added the examples

-0768054b488d129 Arne Teuke 2017-07-09 15:20:05 +0768054b488d129 Arne Teuke 2017-07-09 15:20:05

added vhost examples

-7ac9b407305f98f Arne Teuke 2017-07-09 15:18:26 +7ac9b407305f98f Arne Teuke 2017-07-09 15:18:26

added vhost examples

@@ -148,12 +383,12 @@ Changelog of Git Changelog.

No issue

-ef4e41395b0e8af Arne Teuke 2017-07-09 15:15:32 +ef4e41395b0e8af Arne Teuke 2017-07-09 15:15:32

updated README with vhost details and updated version

-ce399480a464f9e Arne Teuke 2017-07-09 15:08:26 +ce399480a464f9e Arne Teuke 2017-07-09 15:08:26

updated README

@@ -163,27 +398,7 @@ Changelog of Git Changelog.

No issue

-898cbe17468d9f0 Arne Teuke 2017-07-07 15:21:28 -

-

updated README

- -

-ff758351baaf2af Jenkins Server 2017-07-07 15:18:31 -

-

recommit for updates in build 1

- -

-f434a67d79dd236 Arne Teuke 2017-07-07 15:17:42 -

-

updated README and version

- -

-44a6e4aa082511c Arne Teuke 2017-07-07 15:15:43 -

-

added Puppet documentation, Jenkinsfile and Gemfile for CI

- -

-08e4559e677e0e7 Arne Teuke 2017-06-20 10:25:53 +898cbe17468d9f0 Arne Teuke 2017-07-07 15:21:28

updated README

@@ -193,102 +408,102 @@ Changelog of Git Changelog.

No issue

-c223872b293c10a Arne Teuke 2017-06-20 09:24:58 +c223872b293c10a Arne Teuke 2017-06-20 09:24:58

finished initial release

-b2ad14d45611d8b Arne Teuke 2017-06-20 09:18:30 +b2ad14d45611d8b Arne Teuke 2017-06-20 09:18:30

added all file controls

-b0b9a0a692fba2d Arne Teuke 2017-06-19 16:06:52 +b0b9a0a692fba2d Arne Teuke 2017-06-19 16:06:52

started adding files

-9b09518580e22b4 Arne Teuke 2017-06-19 15:24:25 +9b09518580e22b4 Arne Teuke 2017-06-19 15:24:25

finished directories

-84fc5905c149f2b Arne Teuke 2017-06-19 15:18:29 +84fc5905c149f2b Arne Teuke 2017-06-19 15:18:29

changed user home

-fb976134a14040f Arne Teuke 2017-06-19 15:12:54 +fb976134a14040f Arne Teuke 2017-06-19 15:12:54

changed group

-c64c46b8962ea2c Arne Teuke 2017-06-19 15:10:56 +c64c46b8962ea2c Arne Teuke 2017-06-19 15:10:56

added more dirs

-21dbe645b54d37d Arne Teuke 2017-06-19 15:07:36 +21dbe645b54d37d Arne Teuke 2017-06-19 15:07:36

added more dirs

-e4d82e708ff6138 Arne Teuke 2017-06-19 15:00:02 +e4d82e708ff6138 Arne Teuke 2017-06-19 15:00:02

added more dirs

-bbcb22214b0543e Arne Teuke 2017-06-19 14:55:05 +bbcb22214b0543e Arne Teuke 2017-06-19 14:55:05

added more dirs

-1716f1654b94fda Arne Teuke 2017-06-19 14:47:05 +1716f1654b94fda Arne Teuke 2017-06-19 14:47:05

fixed target

-f544863d4dc69c5 Arne Teuke 2017-06-19 14:41:36 +f544863d4dc69c5 Arne Teuke 2017-06-19 14:41:36

added some directory control, testing

-7db89790839718b Arne Teuke 2017-06-19 14:40:58 +7db89790839718b Arne Teuke 2017-06-19 14:40:58

added some directory control, testing

-c5be228aa7a091f Arne Teuke 2017-06-19 14:38:44 +c5be228aa7a091f Arne Teuke 2017-06-19 14:38:44

added some directory control, testing

-a441326bf8ef9e1 Arne Teuke 2017-06-19 14:35:06 +a441326bf8ef9e1 Arne Teuke 2017-06-19 14:35:06

added some directory control, testing

-9f79e6b25b36463 Arne Teuke 2017-06-19 14:33:27 +9f79e6b25b36463 Arne Teuke 2017-06-19 14:33:27

added some directory control, testing

-83b33bf7f5eccbd Arne Teuke 2017-06-19 13:50:10 +83b33bf7f5eccbd Arne Teuke 2017-06-19 13:50:10

added user management

-67f81f9795d48ae Arne Teuke 2017-06-19 13:45:41 +67f81f9795d48ae Arne Teuke 2017-06-19 13:45:41

changed package selection

-972c9a059f08212 Arne Teuke 2017-06-19 13:42:52 +972c9a059f08212 Arne Teuke 2017-06-19 13:42:52

changed package selection

-1bd7fe8230f98cf Arne Teuke 2017-06-19 13:32:14 +1bd7fe8230f98cf Arne Teuke 2017-06-19 13:32:14

added service control

diff --git a/REPOSTRUCTURE.md b/REPOSTRUCTURE.md index e18195c..3104dd4 100644 --- a/REPOSTRUCTURE.md +++ b/REPOSTRUCTURE.md @@ -9,7 +9,9 @@ | | |-- full_list.js | | `-- jquery.js | |-- puppet_classes +| | |-- cd_apache_3A_3Afirewall_3A_3Aiptables.html | | |-- cd_apache_3A_3Amain_3A_3Aconfig.html +| | |-- cd_apache_3A_3Amonitoring_3A_3Atarget.html | | |-- cd_apache_3A_3Aparams.html | | |-- cd_apache_3A_3Aserver_3A_3Adirs.html | | |-- cd_apache_3A_3Aserver_3A_3Afiles.html @@ -27,8 +29,12 @@ | |-- vhost.erb | `-- vhost_ssl.erb |-- manifests +| |-- firewall +| | `-- iptables.pp | |-- main | | `-- config.pp +| |-- monitoring +| | `-- target.pp | |-- server | | |-- dirs.pp | | |-- files.pp @@ -40,6 +46,7 @@ |-- templates | |-- autoindex_conf.erb | |-- httpd_conf.erb +| |-- index_html.erb | |-- magic.erb | |-- ssl_conf.erb | |-- userdir_conf.erb @@ -51,7 +58,6 @@ |-- Gemfile.lock |-- Jenkinsfile |-- LICENSE -|-- README.md -`-- REPOSTRUCTURE.md +`-- README.md -10 directories, 44 files +12 directories, 48 files diff --git a/doc/_index.html b/doc/_index.html index 4157de1..80209b4 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -4,7 +4,7 @@ - Documentation by YARD 0.9.9 + Documentation by YARD 0.9.16 @@ -52,7 +52,7 @@
-

Documentation by YARD 0.9.9

+

Documentation by YARD 0.9.16

Alphabetic Index

@@ -73,11 +73,21 @@ +
  • + cd_apache::firewall::iptables + +
  • +
  • cd_apache::main::config
  • +
  • + cd_apache::monitoring::target + +
  • +
  • cd_apache::params @@ -120,6 +130,8 @@ + +

    File Listing

      @@ -137,9 +149,7 @@
  • diff --git a/doc/css/style.css b/doc/css/style.css index f682a69..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, @@ -484,6 +481,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 */ +*:not(pre) > 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 95d7256..1b40b84 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.16 @@ -58,12 +58,9 @@
    -

    |Repo Name| version | Build -Status| -|---|---|---|---| -|cd_apache| 0.0.1.7 | {Build -Status/]|

    +

    |Repo Name| version | Build Status| |—|—|—|—| |cd_apache| +1.1.2.8 | |

    Synopsis

    @@ -86,57 +83,48 @@ production!!! __**

    Table of Contents

    Features

    -

    Installation -* install required binaries and dependencies

    +

    Installation * install required binaries and dependencies

    -

    Configuration -* manage user settings (optional) -* manage directory -structure (optional) -* manage configuration files (optional): - * file -system permissions - * selinux context -* manage firewall settings (optional)

    - -

    Maintenance -* manage the service

    +

    Configuration * manage user settings (optional) * manage directory +structure (optional) * manage configuration files (optional): * file +system permissions * selinux context * manage firewall settings (optional) +* manage nagios monitoring (optional) Maintenance * manage the service

    vHosts

    @@ -174,7 +162,7 @@ gets installed automatically.

    All dependencies must be included in the catalogue.

    Deployment

    @@ -187,7 +175,7 @@ href="https://gitlab.puppetsoft.com/12WW1160/cd_resources">cd_resources

    include cd_puppetdb } -

    through Foreman:

    +

    through Foreman:

    In order to apply parameters through Foreman, cd_apache::params must be added to the host or hostgroup @@ -231,7 +219,9 @@ selinux is disabled, these contexts are ignored.

    Support

    Tests

    @@ -271,17 +261,14 @@ block, not per class.

    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 0cb1371..b57c778 100644 --- a/doc/frames.html +++ b/doc/frames.html @@ -2,7 +2,7 @@ - Documentation by YARD 0.9.9 + Documentation by YARD 0.9.16 + + + + + + + + + + + +
    + + +

    Puppet Class: cd_apache::firewall::iptables

    +
    + +
    +
    Inherits:
    +
    cd_apache::params
    +
    + + +
    +
    Defined in:
    +
    + manifests/firewall/iptables.pp +
    +
    +
    + +

    Summary

    + manage firewall settings through cd_firewall or puppetlabs-firewall + +

    Overview

    +
    +
    + +

    cd_apache::firewall::iptables.pp Module name: cd_apache Author: Arne Teuke +(arne_teuke@ConfDroid.com) License: This file is part of cd_apache.

    + +

    cd_apache is used for providing automatic configuration of log analyzer. +Copyright (C) 2017 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
    +
    +
    # File 'manifests/firewall/iptables.pp', line 24
    +
    +class cd_apache::firewall::iptables (
    +
    +) inherits cd_apache::params {
    +
    +  if $ae_manage_fw == true {
    +
    +    firewall { "${ae_order_no}${ae_http_port} tcp http port ${ae_http_port}":
    +      proto   => ['tcp','udp'],
    +      dport   => $ae_http_port,
    +      action  => 'accept',
    +    }
    +
    +    firewall { "${ae_order_no}${ae_https_port} tcp http port ${ae_https_port}":
    +      proto   => ['tcp','udp'],
    +      dport   => $ae_https_port,
    +      action  => 'accept',
    +    }
    +  }
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file diff --git a/doc/puppet_classes/cd_apache_3A_3Amain_3A_3Aconfig.html b/doc/puppet_classes/cd_apache_3A_3Amain_3A_3Aconfig.html index aa6c7e9..a64149e 100644 --- a/doc/puppet_classes/cd_apache_3A_3Amain_3A_3Aconfig.html +++ b/doc/puppet_classes/cd_apache_3A_3Amain_3A_3Aconfig.html @@ -6,7 +6,7 @@ Puppet Class: cd_apache::main::config - — Documentation by YARD 0.9.9 + — Documentation by YARD 0.9.16 @@ -83,41 +83,29 @@
    -

    cd_apache::main::config.pp -Module name: cd_apache -Author: Arne Teuke -(arne_teuke@confdroid.com) -License: - This file is part of cd_apache.

    +

    cd_apache::main::config.pp Module name: cd_apache Author: Arne Teuke +(arne_teuke@confdroid.com) License: This file is part of cd_apache.

    -

    cd_apache is used for providing automatic configuration of - Apache -Webserver. - Copyright (C) 2014 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) +

    cd_apache is used for providing automatic configuration of Apache +Webserver. Copyright (C) 2014 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 +

    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 +

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

    + +
    @@ -144,7 +132,7 @@ class cd_apache::main::config ( ) inherits cd_apache::params { include cd_apache::server::service - + include cd_apache::monitoring::target } @@ -153,9 +141,7 @@ class cd_apache::main::config (
    diff --git a/doc/puppet_classes/cd_apache_3A_3Amonitoring_3A_3Atarget.html b/doc/puppet_classes/cd_apache_3A_3Amonitoring_3A_3Atarget.html new file mode 100644 index 0000000..951d4df --- /dev/null +++ b/doc/puppet_classes/cd_apache_3A_3Amonitoring_3A_3Atarget.html @@ -0,0 +1,183 @@ + + + + + + + Puppet Class: cd_apache::monitoring::target + + — Documentation by YARD 0.9.16 + + + + + + + + + + + + + + + + + + + +
    + + +

    Puppet Class: cd_apache::monitoring::target

    +
    + +
    +
    Inherits:
    +
    cd_apache::params
    +
    + + +
    +
    Defined in:
    +
    + manifests/monitoring/target.pp +
    +
    +
    + +

    Summary

    + class manages exports for nagios monitoring + +

    Overview

    +
    +
    + +

    cd_apache::monitoring::target.pp Module name: cd_apache Author: Arne Teuke +(arne_teuke@puppetsoft.com) License: This file is part of cd_apache.

    + +

    cd_apache is used for providing automatic configuration of <service / +purpose> Copyright (C) 2014 PuppetSoft (copyright@puppetsoft.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
    +
    +
    # File 'manifests/monitoring/target.pp', line 24
    +
    +class cd_apache::monitoring::target (
    +
    +) inherits cd_apache::params {
    +
    +  case $ae_incl_target {
    +
    +    false: { notify {'Nagios Service target for check_httpd has been disabled via parameters / ENC override': }
    +    }
    +    default: {
    +      @@nagios_service { "check_http_${::hostname}":
    +        check_command       => 'check_http',
    +        use                 => 'generic-service',
    +        host_name           => $::fqdn,
    +        notification_period => '24x7',
    +        service_description => "${::hostname}_check_http",
    +        target              =>  $ae_target_service,
    +        owner               => 'nagios',
    +        group               => 'nagios',
    +        mode                => '0640',
    +        contacts            => 'ops',
    +      }
    +    }
    +  }
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file diff --git a/doc/puppet_classes/cd_apache_3A_3Aparams.html b/doc/puppet_classes/cd_apache_3A_3Aparams.html index f0686e1..441de25 100644 --- a/doc/puppet_classes/cd_apache_3A_3Aparams.html +++ b/doc/puppet_classes/cd_apache_3A_3Aparams.html @@ -6,7 +6,7 @@ Puppet Class: cd_apache::params - — Documentation by YARD 0.9.9 + — Documentation by YARD 0.9.16 @@ -79,6 +79,10 @@ cd_apache::server::service
    + cd_apache::firewall::iptables
    + + cd_apache::monitoring::target
    + @@ -98,41 +102,29 @@ inherited by all classes except defines.
    -

    cd_apache::params.pp -Module name: cd_apache -Author: Arne Teuke -(arne_teuke@confdroid.com) -License: - This file is part of cd_apache.

    +

    cd_apache::params.pp Module name: cd_apache Author: Arne Teuke +(arne_teuke@confdroid.com) License: This file is part of cd_apache.

    -

    cd_apache is used for providing automatic configuration of - Apache -Webserver. - Copyright (C) 2014 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) +

    cd_apache is used for providing automatic configuration of Apache +Webserver. Copyright (C) 2014 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 +

    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 +

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

    + +

    Parameters:

    @@ -390,11 +471,6 @@ disabled.

     
     
    -58
    -59
    -60
    -61
    -62
     63
     64
     65
    @@ -451,14 +527,31 @@ disabled.

    116 117 118 -119
    +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 -
    # File 'manifests/params.pp', line 58
    +        
    # File 'manifests/params.pp', line 63
     
     class cd_apache::params (
     
    +# installation
     $pkg_ensure         = 'latest',
    +$reqpackages        = ['httpd','mod_ssl'],
    +
     
     $ae_manage_user     = false,
     
    @@ -474,13 +567,18 @@ $ae_manage_cfg      = false,
     $ae_manage_dirs     = true,
     $ae_allow_user_dirs = false,
     
    +# nagios
    +$ae_incl_target     = true,
    +$ae_target_service  = '/etc/nagios/conf.d/httpd_service.cfg',
    +
    +# firewall
    +$ae_manage_fw       = false,
    +$ae_order_no        = '50',
    +$ae_http_port       = '80',
    +$ae_https_port      = '443',
    +
     ) {
     
    -# installation section
    -
    -$reqpackages  = $::operatingsystem ? {
    -    /(?i-mx:centos|fedora|redhat)/ => ['httpd','mod_ssl'],
    -  }
     
     # service
     $ae_service         = 'httpd'
    @@ -500,7 +598,6 @@ $ae_run_link        = "${ae_main_dir}/run"
     $ae_share_httpd     = '/usr/share/httpd'
     $ae_cache_httpd     = '/var/cache/httpd'
     
    -
     # files
     $ae_conf_file       = "${ae_conf_dir}/httpd.conf"
     $ae_conf_file_erb   = 'cd_apache/httpd_conf.erb'
    @@ -512,6 +609,8 @@ $ae_autoindex_file  = "${ae_conf_d_dir}/autoindex.conf"
     $ae_autoindex_erb   = 'cd_apache/autoindex_conf.erb'
     $ae_userdir_file    = "${ae_conf_d_dir}/userdir.conf"
     $ae_userdir_erb     = 'cd_apache/userdir_conf.erb'
    +$ae_index_file      = '/var/www/html/index.html'
    +$ae_index_erb       = 'cd_apache/index_html.erb'
     
     # includes must be last
     
    @@ -525,9 +624,7 @@ $ae_userdir_erb     = 'cd_apache/userdir_conf.erb'
     
    diff --git a/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Adirs.html b/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Adirs.html index ec97432..65cdd4d 100644 --- a/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Adirs.html +++ b/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Adirs.html @@ -6,7 +6,7 @@ Puppet Class: cd_apache::server::dirs - — Documentation by YARD 0.9.9 + — Documentation by YARD 0.9.16 @@ -84,41 +84,29 @@ httpd service.
    -

    cd_apache::server::dirs.pp -Module name: cd_apache -Author: Arne Teuke -(arne_teuke@confdroid.com) -License: - This file is part of cd_apache.

    +

    cd_apache::server::dirs.pp Module name: cd_apache Author: Arne Teuke +(arne_teuke@confdroid.com) License: This file is part of cd_apache.

    -

    cd_apache is used for providing automatic configuration of - Apache -Webserver. - Copyright (C) 2014 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) +

    cd_apache is used for providing automatic configuration of Apache +Webserver. Copyright (C) 2014 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 +

    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 +

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

    + +
    @@ -528,9 +516,7 @@ class cd_apache::server::dirs (
    diff --git a/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Afiles.html b/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Afiles.html index e470a33..caa82c6 100644 --- a/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Afiles.html +++ b/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Afiles.html @@ -6,7 +6,7 @@ Puppet Class: cd_apache::server::files - — Documentation by YARD 0.9.9 + — Documentation by YARD 0.9.16 @@ -83,41 +83,29 @@
    -

    cd_apache::server::files.pp -Module name: cd_apache -Author: Arne Teuke -(arne_teuke@confdroid.com) -License: - This file is part of cd_apache.

    +

    cd_apache::server::files.pp Module name: cd_apache Author: Arne Teuke +(arne_teuke@confdroid.com) License: This file is part of cd_apache.

    -

    cd_apache is used for providing automatic configuration of - Apache -Webserver. - Copyright (C) 2014 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) +

    cd_apache is used for providing automatic configuration of Apache +Webserver. Copyright (C) 2014 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 +

    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 +

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

    + +
    @@ -219,7 +207,24 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.

    112 113 114 -115 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132
    # File 'manifests/server/files.pp', line 24
    @@ -315,6 +320,23 @@ class cd_apache::server::files (
           }
         }
       }
    +
    +    # manage index.html
    +
    +    file  { $ae_index_file:
    +      ensure    =>  file,
    +      path      =>  $ae_index_file,
    +      owner     =>  $ae_user_name,
    +      group     =>  $ae_user_name,
    +      mode      =>  '0644',
    +      selrange  =>  s0,
    +      selrole   =>  object_r,
    +      seltype   =>  httpd_sys_content_t,
    +      seluser   =>  system_u,
    +      content   =>  template($ae_index_erb),
    +      notify    =>  Service['httpd'],
    +  }
    +
     }
    @@ -323,9 +345,7 @@ class cd_apache::server::files (
    diff --git a/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Ainstall.html b/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Ainstall.html index 6eca8d4..d05b4e8 100644 --- a/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Ainstall.html +++ b/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Ainstall.html @@ -6,7 +6,7 @@ Puppet Class: cd_apache::server::install - — Documentation by YARD 0.9.9 + — Documentation by YARD 0.9.16 @@ -83,41 +83,29 @@
    -

    cd_apache::server::install.pp -Module name: cd_apache -Author: Arne Teuke -(arne_teuke@confdroid.com) -License: - This file is part of cd_apache.

    +

    cd_apache::server::install.pp Module name: cd_apache Author: Arne Teuke +(arne_teuke@confdroid.com) License: This file is part of cd_apache.

    -

    cd_apache is used for providing automatic configuration of - Apache -Webserver. - Copyright (C) 2014 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) +

    cd_apache is used for providing automatic configuration of Apache +Webserver. Copyright (C) 2014 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 +

    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 +

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

    + +
    @@ -159,9 +147,7 @@ class cd_apache::server::install (
    diff --git a/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Aservice.html index 06fdb69..87b6dff 100644 --- a/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Aservice.html @@ -6,7 +6,7 @@ Puppet Class: cd_apache::server::service - — Documentation by YARD 0.9.9 + — Documentation by YARD 0.9.16 @@ -83,41 +83,29 @@
    -

    cd_apache::server::service.pp -Module name: cd_apache -Author: Arne Teuke -(arne_teuke@confdroid.com) -License: - This file is part of cd_apache.

    +

    cd_apache::server::service.pp Module name: cd_apache Author: Arne Teuke +(arne_teuke@confdroid.com) License: This file is part of cd_apache.

    -

    cd_apache is used for providing automatic configuration of - Apache -Webserver. - Copyright (C) 2014 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) +

    cd_apache is used for providing automatic configuration of Apache +Webserver. Copyright (C) 2014 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 +

    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 +

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

    + +
    @@ -140,7 +128,8 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.

    33 34 35 -36 +36 +37
    # File 'manifests/server/service.pp', line 24
    @@ -150,6 +139,7 @@ class cd_apache::server::service (
     ) inherits cd_apache::params {
     
       require cd_apache::server::files
    +  require cd_apache::firewall::iptables
     
       service { $ae_service:
         ensure      => running,
    @@ -165,9 +155,7 @@ class cd_apache::server::service (
     
    diff --git a/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Auser.html b/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Auser.html index d6e80a7..8b86d87 100644 --- a/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Auser.html +++ b/doc/puppet_classes/cd_apache_3A_3Aserver_3A_3Auser.html @@ -6,7 +6,7 @@ Puppet Class: cd_apache::server::user - — Documentation by YARD 0.9.9 + — Documentation by YARD 0.9.16 @@ -83,41 +83,29 @@
    -

    cd_apache::server:;user.pp -Module name: cd_apache -Author: Arne Teuke -(arne_teuke@confdroid.com) -License: - This file is part of cd_apache.

    +

    cd_apache::server:;user.pp Module name: cd_apache Author: Arne Teuke +(arne_teuke@confdroid.com) License: This file is part of cd_apache.

    -

    cd_apache is used for providing automatic configuration of - Apache -Webserver. - Copyright (C) 2014 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) +

    cd_apache is used for providing automatic configuration of Apache +Webserver. Copyright (C) 2014 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 +

    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 +

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

    + +
    @@ -209,9 +197,7 @@ class cd_apache::server::user (
    diff --git a/doc/top-level-namespace.html b/doc/top-level-namespace.html index d3081e8..ffe07ca 100644 --- a/doc/top-level-namespace.html +++ b/doc/top-level-namespace.html @@ -6,7 +6,7 @@ Top Level Namespace - — Documentation by YARD 0.9.9 + — Documentation by YARD 0.9.16 @@ -90,9 +90,7 @@ diff --git a/tests/UTF_Files b/tests/UTF_Files index a138597..3dd8a12 100644 --- a/tests/UTF_Files +++ b/tests/UTF_Files @@ -2,5 +2,6 @@ ./.yardoc/proxy_types: Applesoft BASIC program data ./.yardoc/complete: empty ./.yardoc/objects/root.dat: data +./templates/index_html.erb: empty ./doc/css/style.css: HTML document, UTF-8 Unicode text, with very long lines ./doc/js/jquery.js: HTML document, UTF-8 Unicode text, with very long lines