Merge "Pass rabbitmq apt preferences into kolla-toolbox"

This commit is contained in:
Zuul 2024-07-09 14:49:31 +00:00 committed by Gerrit Code Review
commit 139851087e
4 changed files with 14 additions and 0 deletions

View File

@ -18,6 +18,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{{ macros.enable_extra_repos(['crb', 'erlang', 'openvswitch', 'rabbitmq']) }}
{% block rabbitmq_apt_preferences %}
{% if base_package_type == 'deb' %}
COPY apt_preferences_rabbitmq.{{ base_distro }} /etc/apt/preferences.d/rabbitmq
{% endif %}
{% endblock %}
{% if base_package_type == 'rpm' %}
{% set kolla_toolbox_packages = [
'crudini',

View File

@ -0,0 +1 @@
../rabbitmq/apt_preferences_rabbitmq.debian

View File

@ -0,0 +1 @@
../rabbitmq/apt_preferences_rabbitmq.debian

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes an issue where kolla-toolbox will fail to build due to mismatched
rabbitmq-server dependencies.
`LP#2066171 <https://launchpad.net/bugs/2066171>`__