Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #15690: mod_proxy is not enabled in a relay #2067

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions rudder-server-relay/SPECS/rudder-server-relay.spec
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,19 @@ BuildRequires: selinux-policy-devel
Requires: pwdutils cron
%endif

# Doc for suse versioning https://en.opensuse.org/openSUSE:Packaging_for_Leap
# This should not be here because relay and webapp configuration is in a single file : /etc/sysconfig/rudder-relay-apache
# We could remove this when we split it or when we remove wsgi from rudder-webapp
%if 0%{?suse_version} && 0%{?suse_version} < 1500
BuildRequires: python
Requires: python, apache2-mod_wsgi, python-pyOpenSSL
%endif
%if 0%{?suse_version} && 0%{?suse_version} >= 1500
BuildRequires: python3
Requires: python3, apache2-mod_wsgi-python3
%endif


## Python
BuildRequires: python3, python3-pip, python3-lxml, python3-requests
Requires: python3, python3-lxml, python3-requests
Expand Down
2 changes: 1 addition & 1 deletion rudder-server-relay/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ case "$1" in

a2dissite default 000-default default-ssl >/dev/null 2>&1 || true
a2ensite rudder.conf >/dev/null
a2enmod rewrite dav dav_fs ssl wsgi >/dev/null
a2enmod proxy_http rewrite dav dav_fs ssl >/dev/null
# This module is compiled in core in some distro (debian)
a2enmod version >/dev/null 2>&1 || true

Expand Down