1 diff -ru a/manifests/params.pp b/manifests/params.pp
2 --- a/manifests/params.pp 2020-04-13 18:34:56.702263928 +0800
3 +++ b/manifests/params.pp 2020-04-13 18:36:23.158266284 +0800
5 $static_path = '/var/lib'
6 $apache_user = 'www-data'
7 $apache_group = 'www-data'
8 - $wsgi_user = 'horizon'
9 - $wsgi_group = 'horizon'
10 - $memcache_package = 'python-memcache'
11 case $::os_package_type {
13 $package_name = 'openstack-dashboard-apache'
14 $httpd_config_file = '/etc/apache2/sites-available/openstack-dashboard-alias-only.conf'
15 + $memcache_package = 'python-memcache'
16 + $wsgi_user = 'horizon'
17 + $wsgi_group = 'horizon'
20 + $package_name = 'python-django-horizon'
21 + $httpd_config_file = '/etc/httpd/conf.d/openstack-dashboard.conf'
22 + $memcache_package = 'python-memcached'
23 + $wsgi_user = 'apache'
24 + $wsgi_group = 'apache'
27 $package_name = 'openstack-dashboard'
28 $httpd_config_file = '/etc/apache2/conf-available/openstack-dashboard.conf'
29 + $memcache_package = 'python-memcache'
30 + $wsgi_user = 'horizon'
31 + $wsgi_group = 'horizon'