puppet-httpd/manifests
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
..
mod Add note of support on Python mods for CentOS 7. 2015-09-28 14:50:03 -03:00
vhost Fix selinux problems on vhost 2016-06-26 09:53:35 +02:00
dev.pp Fix httpd::dev. 2015-09-28 14:50:03 -03:00
init.pp Add Gemfile and puppet 4 checks 2015-07-29 23:18:35 -07:00
logrotate.pp Order of the classes parameters is refactored 2016-03-21 12:44:49 +03:00
mod.pp Create a httpd::mod defined type 2015-09-25 12:21:31 -07:00
params.pp Order of the classes parameters is refactored 2016-03-21 12:44:49 +03:00
php.pp Add Gemfile and puppet 4 checks 2015-07-29 23:18:35 -07:00
python.pp Add note of support on Python mods for CentOS 7. 2015-09-28 14:50:03 -03:00
ssl.pp Enable SNI on Ubuntu 12.04 LTS 2015-10-21 15:35:33 +00:00
vhost.pp Fix selinux problems on vhost 2016-07-22 08:57:46 +02:00