Add install packages for optional oslo.messaging amqp1 driver

Change-Id: I95ea3178e300acd956830bd62c7bec5421dccab4
This commit is contained in:
Andy Smith 2018-08-15 17:24:09 -04:00
parent 528e3bfa23
commit 8bbd59833d
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: