tasks/rgw: include mod_authz

As per http://www.webhostingtalk.com/showthread.php?t=1173594

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2014-08-16 13:56:15 -07:00
parent 2aae91929f
commit 27b7eceeae

View File

@ -94,7 +94,11 @@ def ship_apache_configs(ctx, config, role_endpoints):
group = 'www-data'
apache24_modconfig = '''
IncludeOptional /etc/apache2/mods-available/mpm_event.conf
IncludeOptional /etc/apache2/mods-available/mpm_event.load'''
IncludeOptional /etc/apache2/mods-available/mpm_event.load
<IfModule !authx_core_module>
LoadModule authz_core_module /usr/lib/apache2/modules/mod_authz_core.so
</IfModule>
'''
else:
mod_path = '/usr/lib64/httpd/modules'
print_continue = 'off'