Puppet modules for deploying Apache in OpenStack infrastructure
Go to file
Yolanda Robla Mota 8fa18ba136 Fix selinux problems on vhost
When running on CentOS, that problem still persists: when trying
to access files under a vhost, apache was failing with
Access denied because search permissions are missing.

So running chcon on the docroot for each vhost

Please note that this change was reverted before. That was caused
by puppet-cgit sending a dummy location "MEANINGLESS ARGUMENT"
to docroot argument of vhost. To avoid that failure, execute only
the chcon call if docroot exists and is a directory.

Change-Id: I4ab7d4cc6d2115bd8f980be7f14a6a4557ffeb87
2016-07-22 08:57:46 +02:00
files Enable SNI on Ubuntu 12.04 LTS 2015-10-21 15:35:33 +00:00
lib/puppet Rename apache2 to httpd globally 2015-02-05 05:49:30 -08:00
manifests Fix selinux problems on vhost 2016-07-22 08:57:46 +02:00
spec Grant access for vhosts on Apache >= 2.4 2015-10-19 17:48:54 +00:00
templates Add SSL Procotol and Cipher config to default vhost 2016-03-01 08:04:00 -06:00
tests fix tests 2012-04-16 15:19:12 +08:00
.gitignore Add acceptance tests for puppet-httpd 2015-09-28 14:50:03 -03:00
.gitreview Add .gitreview 2014-11-20 11:07:40 +11:00
CHANGELOG Version 0.0.4 Forge Release 2012-05-08 09:19:52 -07:00
Gemfile Pin google-api-client; sanitize Gemfile 2016-04-14 15:19:35 -07:00
LICENSE Add missing LICENSE file 2015-01-30 00:16:24 +00:00
metadata.json Add puppetlabs-firewall dependency to metadata 2015-08-07 18:41:07 -07:00
Rakefile Update Rakefile and module info 2015-01-29 12:06:43 +11:00
README.md Replace ci.o.o links with docs.o.o/infra 2015-05-14 21:38:17 +00:00

Overview

puppet-httpd is the openstack-infra fork of puppetlabs-apache. We forked at the 0.0.4 release.

Why we forked

We forked because we were unable to upgrade to later versions of the apache module, and in some cases because we were unwilling to do this. The modern apache module takes the position of fully modelling the apache config file. The older module, that this forked from, takes the position of weakly modelling, it accepts a template and puts that in a vhost. This allows us to write our vhosts in the apache syntax with a thin erb layer on top of it.

However, with the apache module pinned to 0.0.4, we were unable to bring in new modules that depended on a newer apache module. Groups who consumed our puppet code downstream couldn't use the modern apache module either.

We forked to the httpd namespace so that this module (weakly modelling) and a modern puppetlabs-apache module (strongly modelling) could co-exist.

This also allows us to add features and bugfixes to this module without changing its weakly modelled architecture.

Classes

TODO

Defined types

TODO

License

Copyright (C) 2012 Puppet Labs Inc

Puppet Labs can be contacted at: info@puppetlabs.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Project website

Though this project is mirrored to github, that is just a mirror. This is a sub project under the OpenStack umbrella, and so has more process associated with it than your typical Puppet module.

This module is under the direction of the openstack-infra team. Website: http://docs.openstack.org/infra/system-config/

The official git repository is at: https://git.openstack.org/cgit/openstack-infra/puppet-httpd/

Bugs can be submitted against this module at: https://storyboard.openstack.org/#!/search?q=puppet-httpd

And contributions should be submitted through review.openstack.org by following http://docs.openstack.org/infra/manual/developers.html

Contact

You can reach the maintainers of this module on freenode in #openstack-infra and on the openstack-infra mailing list.