From a60b3b4ec6b8a3281605440e8ac51ac2409dd5dc Mon Sep 17 00:00:00 2001 From: Jenkins ConfDroid Date: Fri, 14 Feb 2025 11:37:36 +0100 Subject: [PATCH] recommit for updates in build 236 --- doc/_index.html | 5 + doc/puppet_class_list.html | 11 +- ...d_haproxy_3A_3Afirewall_3A_3Aiptables.html | 56 +++--- .../cd_haproxy_3A_3Amain_3A_3Aconfig.html | 34 +--- .../cd_haproxy_3A_3Amain_3A_3Adirs.html | 56 +++--- .../cd_haproxy_3A_3Amain_3A_3Afiles.html | 56 +++--- .../cd_haproxy_3A_3Amain_3A_3Ainstall.html | 40 ++--- .../cd_haproxy_3A_3Amain_3A_3Auser.html | 58 ++---- ...haproxy_3A_3Amonitoring_3A_3Afail2ban.html | 167 ++++++++++++++++++ .../cd_haproxy_3A_3Aparams.html | 23 ++- .../cd_haproxy_3A_3Aserver_3A_3Aservice.html | 52 ++---- 11 files changed, 321 insertions(+), 237 deletions(-) create mode 100644 doc/puppet_classes/cd_haproxy_3A_3Amonitoring_3A_3Afail2ban.html diff --git a/doc/_index.html b/doc/_index.html index d34b448..1c88fc8 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -103,6 +103,11 @@ +
  • + cd_haproxy::monitoring::fail2ban + +
  • +
  • cd_haproxy::params diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index 189a4cf..3a33595 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -89,14 +89,21 @@
  • -
  • +
  • + +
  • + + +
  • -
  • +
  • diff --git a/doc/puppet_classes/cd_haproxy_3A_3Afirewall_3A_3Aiptables.html b/doc/puppet_classes/cd_haproxy_3A_3Afirewall_3A_3Aiptables.html index 68d33b1..e8c725e 100644 --- a/doc/puppet_classes/cd_haproxy_3A_3Afirewall_3A_3Aiptables.html +++ b/doc/puppet_classes/cd_haproxy_3A_3Afirewall_3A_3Aiptables.html @@ -84,23 +84,7 @@

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

    - -

    cd_haproxy is used for providing automatic configuration of HA proxy. -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/.

    +Teuke (arne_teuke@confdroid.com)

    @@ -117,30 +101,30 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.

     
     
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
     23
     24
     25
    -26
    -27
    -28
    -29
    -30
    -31
    -32
    -33
    -34
    -35
    -36
    -37
    -38
    -39
    -40
    -41
    -42
    -43
    +26 -
    # File 'manifests/firewall/iptables.pp', line 23
    +        
    # File 'manifests/firewall/iptables.pp', line 6
     
     class cd_haproxy::firewall::iptables (
     
    diff --git a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Aconfig.html b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Aconfig.html
    index 36d83ea..3631f98 100644
    --- a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Aconfig.html
    +++ b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Aconfig.html
    @@ -85,23 +85,7 @@ cd_haproxy.
       

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

    - -

    cd_haproxy is used for providing automatic configuration of HA proxy. -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/.

    +(arne_teuke@confdroid.com)

    @@ -118,16 +102,16 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.

     
     
    -24
    -25
    -26
    -27
    -28
    -29
    -30
    +7 +8 +9 +10 +11 +12 +13
    -
    # File 'manifests/main/config.pp', line 24
    +        
    # File 'manifests/main/config.pp', line 7
     
     class cd_haproxy::main::config (
     
    diff --git a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Adirs.html
    index 4180a87..a525497 100644
    --- a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Adirs.html
    +++ b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Adirs.html
    @@ -84,23 +84,7 @@
       

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

    - -

    cd_haproxy is used for providing automatic configuration of HA proxy. -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/.

    +(arne_teuke@confdroid.com)

    @@ -117,6 +101,23 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.

     
     
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
     23
     24
     25
    @@ -131,27 +132,10 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.

    34 35 36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54
    +37
    -
    # File 'manifests/main/dirs.pp', line 23
    +        
    # File 'manifests/main/dirs.pp', line 6
     
     class cd_haproxy::main::dirs (
     
    diff --git a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Afiles.html b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Afiles.html
    index 368e275..61af50e 100644
    --- a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Afiles.html
    +++ b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Afiles.html
    @@ -84,23 +84,7 @@
       

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

    - -

    cd_haproxy is used for providing automatic configuration of HA proxy. -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/.

    +(arne_teuke@confdroid.com)

    @@ -117,6 +101,23 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.

     
     
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
     23
     24
     25
    @@ -240,27 +241,10 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.

    143 144 145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -162 -163
    +146
    -
    # File 'manifests/main/files.pp', line 23
    +        
    # File 'manifests/main/files.pp', line 6
     
     class cd_haproxy::main::files (
     
    diff --git a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Ainstall.html b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Ainstall.html
    index c20c5e6..88472fe 100644
    --- a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Ainstall.html
    +++ b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Ainstall.html
    @@ -85,23 +85,7 @@ cd_haproxy
       

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

    - -

    cd_haproxy is used for providing automatic configuration of HA proxy. -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/.

    +(arne_teuke@confdroid.com)

    @@ -118,19 +102,19 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.

     
     
    -24
    -25
    -26
    -27
    -28
    -29
    -30
    -31
    -32
    -33
    +7 +8 +9 +10 +11 +12 +13 +14 +15 +16
    -
    # File 'manifests/main/install.pp', line 24
    +        
    # File 'manifests/main/install.pp', line 7
     
     class cd_haproxy::main::install (
     
    diff --git a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Auser.html b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Auser.html
    index ae7ff93..352c769 100644
    --- a/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Auser.html
    +++ b/doc/puppet_classes/cd_haproxy_3A_3Amain_3A_3Auser.html
    @@ -86,26 +86,6 @@
     

    cd_haproxy::main::user.pp Module name: cd_haproxy Author: Arne Teuke (arne_teuke@ConfDroid.com)

    -

    License:

    - -

    This file is part of cd_haproxy.

    - -

    cd_haproxy is used for providing automatic configuration of HAproxy -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/.

    - @@ -121,6 +101,23 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.

     
     
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
     23
     24
     25
    @@ -129,27 +126,10 @@ href="http://www.gnu.org/licenses">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
    +31
    -
    # File 'manifests/main/user.pp', line 23
    +        
    # File 'manifests/main/user.pp', line 6
     
     class cd_haproxy::main::user (
     
    diff --git a/doc/puppet_classes/cd_haproxy_3A_3Amonitoring_3A_3Afail2ban.html b/doc/puppet_classes/cd_haproxy_3A_3Amonitoring_3A_3Afail2ban.html
    new file mode 100644
    index 0000000..81e462c
    --- /dev/null
    +++ b/doc/puppet_classes/cd_haproxy_3A_3Amonitoring_3A_3Afail2ban.html
    @@ -0,0 +1,167 @@
    +
    +
    +  
    +    
    +
    +
    +  Puppet Class: cd_haproxy::monitoring::fail2ban
    +  
    +    — Documentation by YARD 0.9.26
    +  
    +
    +
    +  
    +
    +  
    +
    +
    +
    +
    +  
    +
    +  
    +
    +
    +  
    +  
    +    
    +
    +    
    + + +

    Puppet Class: cd_haproxy::monitoring::fail2ban

    +
    + +
    +
    Inherits:
    +
    cd_haproxy::params
    +
    + + +
    +
    Defined in:
    +
    + manifests/monitoring/fail2ban.pp +
    +
    +
    + +

    Summary

    + Class manages fail2ban settings + +

    Overview

    +
    +
    + +

    Module name: cd_haproxy Author: Arne Teuke (arne_teuke@confdroid.com)

    + +
    +
    + + +
    + + + +
    + + + + + +
    +
    +
    +
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +
    +
    # File 'manifests/monitoring/fail2ban.pp', line 5
    +
    +class cd_haproxy::monitoring::fail2ban (
    +
    +) inherits cd_haproxy::params {
    +
    +  require cd_fail2ban
    +
    +  if $hy_manage_fail2ban == true {
    +
    +    # configure filter
    +    
    +    file { '/etc/fail2ban/filter.d/haproxy.conf':
    +      ensure    =>  file,
    +      owner     =>  'root',
    +      group     =>  'root',
    +      mode      =>  '0644',
    +      selrange  =>  s0,
    +      selrole   =>  object_r,
    +      seltype   =>  etc_t,
    +      seluser   =>  system_u,
    +      content   =>  template('cd_haproxy/fail2ban/f2b_haproxy.conf.erb'),
    +      notify    =>  Service[$fn_service],
    +    }
    +  }
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file diff --git a/doc/puppet_classes/cd_haproxy_3A_3Aparams.html b/doc/puppet_classes/cd_haproxy_3A_3Aparams.html index 96bc48f..f36dc6f 100644 --- a/doc/puppet_classes/cd_haproxy_3A_3Aparams.html +++ b/doc/puppet_classes/cd_haproxy_3A_3Aparams.html @@ -81,6 +81,8 @@ cd_haproxy::firewall::iptables
    + cd_haproxy::monitoring::fail2ban
    + @@ -707,6 +709,19 @@ succeed.

    set the timeout value for how long to check if the timeout has occured

    +
  • + +
  • + + hy_manage_fail2ban + + + (Any) + + + (defaults to: false) + +
  • @@ -868,7 +883,10 @@ succeed.

    138 139 140 -141 +141 +142 +143 +144
    # File 'manifests/params.pp', line 58
    @@ -884,6 +902,9 @@ $hy_host_fqdn                 = undef,
     $hy_manage_fw                 = true,
     $hy_fw_order_no               = '50',
     
    +# fail2ban
    +$hy_manage_fail2ban           = false,
    +
     # main config
     $hy_http_port                 = '80',
     $hy_https_port                = '443',
    diff --git a/doc/puppet_classes/cd_haproxy_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/cd_haproxy_3A_3Aserver_3A_3Aservice.html
    index 3b7bedc..be5f5e5 100644
    --- a/doc/puppet_classes/cd_haproxy_3A_3Aserver_3A_3Aservice.html
    +++ b/doc/puppet_classes/cd_haproxy_3A_3Aserver_3A_3Aservice.html
    @@ -84,23 +84,7 @@
       

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

    - -

    cd_haproxy is used for providing automatic configuration of HA proxy. -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/.

    +(arne_teuke@confdroid.com)

    @@ -117,25 +101,25 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.

     
     
    -23
    -24
    -25
    -26
    -27
    -28
    -29
    -30
    -31
    -32
    -33
    -34
    -35
    -36
    -37
    -38
    +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21
    -
    # File 'manifests/server/service.pp', line 23
    +        
    # File 'manifests/server/service.pp', line 6
     
     class cd_haproxy::server::service (