python3: Fix REMOTE_USER Apache configuration for Python 3.

We were previously still installing the Python 2 version of mod_wsgi,
which of course doesn't work and can't use the Zulip virtualenv.
This commit is contained in:
Tim Abbott 2017-10-24 11:13:37 -07:00
parent d91e49b681
commit 89b97e7480

View File

@ -1,9 +1,12 @@
class zulip::apache_sso {
include zulip::localhost_sso
$apache_packages = [ "apache2", "libapache2-mod-wsgi", ]
$apache_packages = [ "apache2", "libapache2-mod-wsgi-py3", ]
package { $apache_packages: ensure => "installed" }
$apache_former_packages = [ "apache2", "libapache2-mod-wsgi", ]
package { $apache_legacy_packages: ensure => "absent" }
apache2mod { [ "headers", "proxy", "proxy_http", "rewrite", "ssl", ]:
ensure => present,
require => Package['apache2'],