Commit Graph

12 Commits

Author SHA1 Message Date
Jeremy Stanley eec99fedb9 Allow access to docroot for proxy exclusions
In a httpd::vhost::proxy resource, if proxy exclusions and a docroot
are specified, we should allow clients to access contents of the
docroot.

Change-Id: If30b192b8f2c16375aa534131217a5aa2a9ff47d
2018-02-22 16:28:32 +00:00
Monty Taylor aec75a659f Add SSL Procotol and Cipher config to default vhost
Infra doesn't really use this template, but in case someone else does,
update the protocol to only use TLS and update the cipher list to the
list of strong ciphers.

Change-Id: Ibd8a0e65800e022ab8bc52f6af63c3c85e84419d
2016-03-01 08:04:00 -06:00
Jenkins d2bd645ab6 Merge "Grant access for vhosts on Apache >= 2.4" 2015-10-20 08:38:58 +00:00
Danilo Ramalho bf7ce40e2f Grant access for vhosts on Apache >= 2.4
Apache's configuration for access control has changed on 2.4. To allow
access to served directories we need to include the new directive
"Require grant all".

We scoped the configuration to only be applied on Apache 2.4. More
information can be viewed on the Apache's upgrade document[1].

The tests were changed to ensure that the configuration is working
without any extra override, as the extra test vhost is on a custom
directory that requires the template to grant access to it.

[1] http://httpd.apache.org/docs/trunk/upgrading.html

Change-Id: I898ca049c5b3592cb70ad8c22eba8d4c681f3b22
Co-Authored-By: Bruno Tavares <btavare@thoughtworks.com>
2015-10-19 17:48:54 +00:00
Clint Adams a827227079 Allow specification of DocumentRoot when reverse-proxying partially
If any locations are being excluded from reverse-proxying, we need
to be able to specify a DocumentRoot to serve up un-proxied files.

Change-Id: I1c5fe6f73b5983886578975e89c5e4148b506795
2015-10-06 15:57:14 -04:00
Clint Adams c39fde20ed Allow specification of locations to not be proxied
A user of httpd::vhost::proxy may wish to exclude certain URLs from
being proxied.  This change allows the template to be populated with
such exclusions.

Change-Id: I55a86d3c703a667daf55cb75cf559eb23a556219
2015-10-02 12:15:43 -04:00
Colleen Murphy 17430b7507 Add Gemfile and puppet 4 checks
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins. Also fix errors
caught by the puppet-lint-unquoted_string-check and
puppet-lint-absolute_classname-check gems.

Change-Id: I9d74d25d2f2c95ec52a6db3bf070903240e1b933
2015-07-29 23:18:35 -07:00
Paul Belanger 6559655964 Fix variable access warnings
Change-Id: I9bb68f50be21885072e7e999063f723b2059a2e9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-07-10 09:54:55 -04:00
Spencer Krum dab0f45bea Rename apache2 to httpd globally
This renames the classes and defined types from apache to httpd.
With the 'httpd' module available, we can migrate usage of 'apache'
to 'httpd.' Eventually this will free the 'apache' namespace.

A native ruby type and provider is contained in this class. It is
not namespaced to the class name so it has been renamed from a2mod
to httpd_mod.

Change-Id: I056eb28a13e7ccc95f1496019bedc332c17dd458
2015-02-05 05:49:30 -08:00
Marc Huffnagle 60f83bae8d Explicitly lookup scope of apache_name in templates. 2012-02-17 14:25:52 -05:00
David Alden 2b79e8bdd1 (#11070) Add support for Scientific Linux
This patch adds Scientific Linux to the various case statements so it is
supported. This also fixed the various templates so that the log location
is variable depending on weither the OS is Redhat based or Debian based.
2011-12-01 00:56:45 +00:00
Gary Larizza b77062f595 Commit Templates 2011-07-15 15:26:35 -07:00