Forge Home

apache

Manages apache including ajp proxy, thin proxy, and mod_security.

EvenUp Inc

evenup

12,122 downloads

9,505 latest version

4.1 quality score

Version information

  • 4.0.0 (latest)
  • 3.8.0
  • 3.7.0
  • 3.6.0
  • 3.5.0
  • 3.4.0
  • 3.3.0
  • 3.2.2
  • 3.2.1
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 2.0.0
released Nov 11th 2014

Start using this module

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

Add this declaration to your Puppetfile:

mod 'evenup-apache', '4.0.0'
Learn more about managing modules with a Puppetfile

Add this module to a Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install evenup-apache --version 4.0.0

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

evenup/apache — version 4.0.0 Nov 11th 2014

What is it?

A puppet module that installs apache with mod_evasive and mod_security (optional). This module has been written and tested on CentOS 6 and is primarily used for configuring apache as a proxy for Tomcat via AJP and other services via TCP, but it also has support for mod_passenger, mod_python, and mod_wsgi as well.

Disabling mod_security by vhost, rule, or IP are provided. JSON logging for vhosts allowing easy import into logstash is available.

Support for SSL certificates, password files, or any other sensitive information may be installed installed to a limted access directory through apache::securefile.

Monitoring by sensu is provided, but additional monitoring solutions can easily be added.

Usage:

Generic apache install

Adding a NameVirtualHost on port 80:

Generic config files:

Tomcat AJP proxy with http -> https redirect:

TCP proxy:

Static content:

Known Issues:

Only tested on CentOS 6

TODO:


[ ] Make mod_evasive optional [ ] Make mod_status optional and configurable [ ] Allow disabling mod_security by file [ ] Improve documentation, complex module

License:


Released under the Apache 2.0 licence

Contribute:

  • Fork it
  • Create a topic branch
  • Improve/fix (with spec tests)
  • Push new topic branch
  • Submit a PR