Adrien "ze" Urban
37f8af4b3a
vhosts/standard: rewrite, simplify code
* No more if.
* Allow lookup to set default value for all docroot
* updated pillar.example
pirms 6 gadiem
Adrien "ze" Urban
5211bdd72b
vhosts/standard: allow user/group option
Support for DocumentRootUser and DocumentRootGroup
pirms 6 gadiem
Noel McLoughin
147aa71551
Do not add ServerAlias unless defined
pirms 7 gadiem
Noel McLoughin
853ec8e118
Allow Skipping of service manipulation via pillar (+PR comments)
pirms 7 gadiem
emeygret
55c6010bde
pillar exemple for RedirectMatch directive
pirms 7 gadiem
Noel McLoughin
77a7cbf228
Allow Skipping of service manipulation via pillar (+PR comments)
pirms 7 gadiem
Alexander Weidinger
d3110f93f6
Manage TLS defaults
pirms 7 gadiem
Noel McLoughlin
a07560a7ea
Consolidate duplicate 'Location' stanzas in pillar.example; SLS Rendering Error fix
pirms 7 gadiem
Javier Bértoli
ffac9b2381
Added minimal template ( fixes #34 )
pirms 7 gadiem
Javier Bértoli
475fb8347e
Add default user/group attributes as required by some states
pirms 7 gadiem
Patrick Chevalley
780bf3158d
Add Reverse Proxy directives, GeoIP, Certificates management, mostly for RedHat
pirms 7 gadiem
Niels Abspoel
1c20ce5f70
add modsecurity rules state
pirms 8 gadiem
Rob Ruma
d5337836b2
Adding exclude_listen_directive option ( #151 )
* Adding exclude_listen_directive option
* Updating Debian config
pirms 8 gadiem
abehling
9aca4c35b7
RedHat: Made AddDefaultCharset Directive configurable ( #147 )
* RedHat: Made AddDefaultCharset Directive configurable
* Added description of apache:lookup:default_charset to pillar.example, sane default equals former hardcoded UTF-8
pirms 8 gadiem
Martin Jackson
6382785cc9
Add proxyrequests directive ( #144 )
* Add ProxyRequests directive
This allows or prevents Apache httpd from functioning as a forward proxy server.
[See](https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxyrequests ).
The default action is off so I've set this a the default for this formula so it does not change the default behaviour.
* Add example pillar usage
pirms 8 gadiem
Martin Jackson
b1640f4f3d
[ #141 ] Support additional options for Proxypass ( #142 )
* Add support for proxy pass target options
* Add example usage
pirms 8 gadiem
Javier Bértoli
2be52db8b8
Add mod_security management
Add gitignore, kitchen-ci files
Add some tests and documentation
pirms 8 gadiem
Dominik Menzi
d1c3463154
Add support for NameVirtualHost on Debian
pirms 8 gadiem
Bert Pattyn
5fc1dc710b
fix Options in pillar.example
pirms 8 gadiem
Rowcliffe Browne
2557d3d1c8
Allow global directives to be added to apache config
pirms 9 gadiem
Alexander Kozlov
57d11a1cf0
Fixed YAML parsing On/Off as True/False
True and False are not correct values for apache config
pirms 9 gadiem
Alexander Kozlov
3e650f5c48
Added ability to configure KeepAlive option
Sometimes it's necessary optimization in nginx+apache2 environment
pirms 9 gadiem
Alexander Kozlov
03d97659d0
Added newlines to recent files
pirms 9 gadiem
Alexander Kozlov
58aae42324
Follow-up to 8f2308b98
pirms 9 gadiem
Alexander Kozlov
8f2308b985
Added ability to configure mod_remoteip
pirms 9 gadiem
Alexander Kozlov
8584dbf2a1
Added ability to manage security settings
By reassigning options with `blockreplace` at `/etc/apache2/conf-available/security.conf`, which is linked as conf-enabled by default on Debian packages
pirms 9 gadiem
root
3742b40f86
Added support for Alias and Locations, as well as enabling Dav
pirms 9 gadiem
Brad Thurber
e5c1209433
This branch is foundational for further version-specific work to come.
* Add apache version (2.2, 2.4) detection based on osfinger (defaults to 2.4).
* Version can be overridden in pillar (for Apache 2.4 on RHEL 6 for example)
pirms 9 gadiem
Brad Thurber
13fb82c470
add lookup section to pillar.example
pirms 9 gadiem
Mathieu Tarral
c195dce07c
add an 'enabled' attribute for a site in pillar
pirms 9 gadiem
Jonathan Ballet
a8f2d89995
ssl: also support the SSLCertificateChainFile required by some providers
pirms 9 gadiem
Mosen
f135e2e0d5
Fix incorrect syntax in pillar example for SSLCertificateFile, SSLCertificateKeyFile
Fix check for SSLCertificateFile, SSLCertificateKeyFile variables in vhosts/standard.tmpl, now using dict.get()
pirms 9 gadiem
Florian Bittner
dbb86f2bc4
Add basic SSL functionality.
pirms 9 gadiem
Ryan Peck
a83f74c18e
Add optional templating to register_site
Add optional templating for the register site aspect of a pillar.
User can specify keys to be included as defaults, otherwise it is
treated as a normal managed file.
pirms 9 gadiem
sebastien.fleury
fce8d72c12
Issue#41 configure multi proxypass configuration in vhost
pirms 9 gadiem
root
8d1b8f7f36
Add example code for new templates 'redirect.tmpl' and 'proxy.tmpl'.
pirms 10 gadiem
root
2ba72e613d
Add new templates 'proxy.tmpl' and 'redirect.tmpl'. Add comment pointing to new templates to pillar.example.
pirms 10 gadiem
Skyler Berg
11d66cfda7
Add ability to specify modules in pillar
pirms 10 gadiem
Berry Langerak
b8fe242d35
Adding support for Apache 2.4 on Ubuntu 14.04
- Adding confext to virtualhost names.
- Renaming the default config file for Ubuntu (000-default.conf).
- Adding ability to use "Require all granted".
pirms 10 gadiem
Seth House
280ea54a65
Removed Jinja-esque placeholders from example Pillar; added instructions
The structure of this example file was quite confusing. Most of these
values are not required and should be denoted as such. Jinja notiation
to denote re-used Pillar values was also a bad and confusing choice.
Closes #8
pirms 10 gadiem
Seth House
b8f7ac33bf
Moved all Pillar examples under the same dictionary key
Having multiple different examples in the same file was causing
confusion.
pirms 10 gadiem
Adam Herzog
6a7448cb4b
Add confext (and missing vhostdir) parameters to pillar.example.
pirms 11 gadiem
Seth House
2499a50135
Added apache.vhost formula
pirms 11 gadiem
Seth House
3f8a1edb97
Added mod_wsgi to package-map
pirms 11 gadiem
Seth House
66683570e9
Added package-map.jinja
pirms 11 gadiem
Seth House
d29f634367
Updated README with these changes moved Pillar examples into pillar file
pirms 11 gadiem
Michael Grosser
1dfb33213e
Add pillar.example
pirms 11 gadiem