apache

contributions requested
apache setup and configuration

4,992 downloads

4,992 latest version

5.0 quality score

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.6.3 (latest)
released Nov 12th 2018
This version is compatible with:
  • Puppet Enterprise 2025.3.x, 2025.2.x, 2025.1.x, 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 3.8.0
  • RedHat
    ,
    CentOS
    ,
    Scientific
    ,
    OEL
    ,
    OracleLinux
    ,
    Ubuntu

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'eyp-apache', '0.6.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add eyp-apache
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install eyp-apache --version 0.6.3

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

eyp/apache — version 0.6.3 Nov 12th 2018

CHANGELOG

0.6.3 - 2018-09-19

  • fix dependencies

0.6.2 - 2018-06-19

  • bugfix mod_php on Ubuntu 14.04

0.6.1

  • added ssl certs to sorrypage
  • added Ubuntu 18.04 support

0.6.0

  • INCOMPATIBLE CHANGES:
    • disabled apache modules:
      • mod_userdir
      • mod_info
    • apache user shell under management by default
    • changed default LogLevel from warn to notice core:info for Apache 2.4 and warn for Apache 2.2
    • apache config cleanup (some useless directives have been removed)
  • bugfix: default vhost documentroot ownership
  • configurable conf.d purge/recurse
  • added apache::vhost::xframeoptions to be able to easily add the X-Frame-Options header to a vhost
  • added support for mod_reqtimeout using apache::mod::reqtimeout
  • added variables for:
    • LimitRequestLine
    • LimitRequestFields
    • LimitRequestFieldSize
    • LimitRequestBody
  • added block options to apache::location to be able to disable a specific URL
  • added a flag to disable mod_autoindex
  • added flag to disable FollowSymlinks by default
  • added limit_http_methods variable to apache::location to be able to limit http methods by URL
  • added disablereuse variable to apache::proxy::proxypass
  • added AD auth support:
    • mod_ldap via apache::mod::ldap
    • AD auth via apache::vhost::adsauth

0.5.13

  • added audit rules for apache config files

0.5.12

  • fixed hard-coded SSLSessionCache

0.5.11

  • added timeout and connectiontimeout variables to apache::mod::proxy::proxypass
  • removed checks for subclasses, auto include required classes

0.5.10

  • added variable root_directory_deny to set allow or deny by default to /

0.5.9

  • added AllowEncodedSlashes to apache::vhost

0.5.8

  • added apache::alias
  • added selinux_httpd_use_nfs flag to allow httpd to use NFS mounts

0.5.7

  • added listen_address to apache::vhost
  • modified apache::mod::proxy::balancer to notify apache service

0.5.6

  • added default SSLStaplingCache

0.5.5

  • added lbmethod to apache::mod::proxy::balancer
  • INCOMPATIBLE CHANGE: apache::mod::proxy::proxypass changed resource's name from $url to $servername, thus url is now a mandatory parameter

0.5.4

  • bugfix apache 2.4 - prefork parameters were not being honored

0.5.3

  • bugfix apache::logformat

0.5.2

  • bugfix apache::header

0.5.1

  • added ssl_use_stapling variable (only available on apache 2.4)
  • added apache::sslproxy
  • added apache::location
  • added ssl_options to apache::directory
  • added apache::browsermatch
  • added description variable to apache::vhost
  • added apache::requestheader
  • added variables to apache::mod::proxy:
    • proxy_requests
    • proxy_via
    • proxy_preserve_host
  • added apache::mod::proxy::proxypassreverse
  • added ssl verify options:
    • SSLVerifyClient
    • SSLVerifyDepth
  • added customlog_filter to apache::vhost to be able to filter logs
  • added apache::files and apache::filesmatch
  • added apache::logformat
  • added log related variables to apache::vhost:
    • log_format
    • log_rotate_seconds
  • INCOMPATIBLE CHANGE: changed default values for apache::directory, directory is now mandatory, servername now default's to resource's name
  • bugfix: added unimplemented vhost options to the default vhost

0.4.26

  • added apache::addtype

0.4.25

  • added variable to be able to set startservers, minspareservers, maxspareservers
  • added apache::include_conf
  • apache::vhost::includes and apache::vhost::includes_optional to be able to include non puppet managed files to a vhost
  • added option for SSLHonorCipherOrder
  • added HSTS support: apache::hsts (using mod_headers)
  • added a global variable to enable PFS

0.4.24

  • apache cert links will notify apache::service (which by the way sets an implicit order)
  • limit puppetlabs-concat to < 3.0.0

0.4.23

  • added variable to be able to set umask for httpd

0.4.22

  • added Ubuntu 16.04 support

0.4.21

  • added to apache::vhost:
    • documentroot_owner
    • documentroot_group
    • documentroot_mode
  • bugfix ServerAdmin in vhost template

0.4.20

  • bugfix to be able to disable authentication on apache::davsvnrepo

0.4.19

  • bugfix url_cleanup in apache::davsvnrepo

0.4.18

  • added proxytimeout to modproxy

0.4.17

  • added defaultcharset to apache::vhost

0.4.16

  • added mod_headers support

0.4.15

  • changed hiera to hiera_array to merge arrays

0.4.14

  • typo svnpath
  • bugfix fragment vhost
  • bugfix template davsvnrepo.erb

0.4.9

  • added apache::davsvnrepo with kerberos auth

0.4.8

  • bugfix centos 6: /etc/httpd/modules/mod_authn_core.so

0.4.7

  • added kerberos auth support

0.4.6

  • minor bugfix

0.4.5

  • mod_proxy (ProxyStatus changed default to On)

0.4

  • INCOMPATIBLE CHANGE: Changed general ErrorLog and CustomLog to use rotatelogs, deleting any related logrotate stuff

0.3

  • modules not loaded anymore by default:
    • proxy
    • proxy_ajp
    • proxy_balancer
    • proxy_connect
    • proxy_ftp
    • proxy_http