Merge "Add install packages for optional oslo.messaging amqp1 driver"

This commit is contained in:
Zuul 2018-09-12 16:45:53 +00:00 committed by Gerrit Code Review
commit fec7e860f8
5 changed files with 26 additions and 2 deletions

View File

@ -43,6 +43,10 @@ aodh_service_distro_packages:
aodh_test_distro_packages:
- git
aodh_oslomsg_amqp1_distro_packages:
- libsasl2-modules
- sasl2-bin
aodh_system_service_name: apache2
aodh_apache_config:

View File

@ -13,6 +13,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
aodh_package_list: "{{ aodh_distro_packages + aodh_service_distro_packages }}"
aodh_package_list: |-
{% set packages = (aodh_distro_packages + aodh_service_distro_packages) %}
{% if aodh_oslomsg_amqp1_enabled | bool %}
{% set _ = packages.extend(aodh_oslomsg_amqp1_distro_packages) %}
{% endif %}
{{ packages }}
_aodh_bin: "/usr/bin"

View File

@ -39,6 +39,11 @@ aodh_service_distro_packages:
aodh_test_distro_packages:
- git
aodh_oslomsg_amqp1_distro_packages:
- cyrus-sasl-lib
- cyrus-sasl-plain
- cyrus-sasl-md5
aodh_system_service_name: httpd
aodh_apache_config:

View File

@ -13,6 +13,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
aodh_package_list: "{{ aodh_distro_packages + aodh_devel_distro_packages }}"
aodh_package_list: |-
{% set packages = (aodh_distro_packages + aodh_devel_distro_packages) %}
{% if aodh_oslomsg_amqp1_enabled | bool %}
{% set _ = packages.extend(aodh_oslomsg_amqp1_distro_packages) %}
{% endif %}
{{ packages }}
_aodh_bin: "/openstack/venvs/aodh-{{ aodh_venv_tag }}/bin"

View File

@ -42,6 +42,11 @@ aodh_service_distro_packages:
aodh_test_distro_packages:
- git-core
aodh_oslomsg_amqp1_distro_packages:
- cyrus-sasl
- cyrus-sasl-plain
- cyrus-sasl-digestmd5
aodh_system_service_name: apache2
aodh_apache_config: