Commit Graph

10 Commits

Author SHA1 Message Date
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
James E. Blair 77cae247c9 Add "Satisfy any" to default vhost template
This is needed for Apache 2.4, and is compatible with 2.2.

Change-Id: I5c8243c0031e295b5d88a21ac05f7a467beefa33
2015-09-17 14:25:42 -07: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
Ramy Asselin 48c90450bf Rename openstackci to openstackinfra
Change-Id: I5d5db705d447e19f07a88b475d9a3ab2e17da7ec
2015-04-20 13:44:18 -07: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
James Turnbull 35721a3f35 Initial commit 2010-09-01 18:01:04 -04:00