Install osc-placement package during client package installation

This patch makes osc-placmeent package installed as a part of client
packages, because this package is required to manage resources in
placement service.

Change-Id: Ib2524cf97f97693d7d03c1bb4fb1c2bde40d3bec
This commit is contained in:
Takashi Kajinami 2020-06-19 22:23:08 +09:00
parent c70a5c8f08
commit 8f758e5e4f
3 changed files with 23 additions and 21 deletions

View File

@ -21,21 +21,22 @@
tripleo_clients_install_pkg_state: present
tripleo_clients_install_dict:
aodh: present
barbican: present
cinder: present
designate: present
glance: present
gnocchi: present
heat: present
ironic: present
keystone: present
manila: present
mistral: present
neutron: present
nova: present
openstack: present
panko: present
sahara: present
swift: present
zaqar: present
aodhclient: present
barbicanclient: present
cinderclient: present
designateclient: present
glanceclient: present
gnocchiclient: present
heatclient: present
ironicclient: present
keystoneclient: present
manilaclient: present
mistralclient: present
neutronclient: present
novaclient: present
openstackclient: present
osc-placement: present
pankoclient: present
saharaclient: present
swiftclient: present
zaqarclient: present

View File

@ -19,7 +19,8 @@
hosts: all
vars:
tripleo_clients_install_dict:
aodh: installed
barbican: installed
aodhclient: installed
barbicanclient: installed
osc-placement: installed
roles:
- role: "tripleo_clients_install"

View File

@ -41,7 +41,7 @@
}
%}
{% for k, v in tripleo_clients_install_dict.items() %}
{% set pkg_name = tripleo_clients_install_python_prefix ~ '-' ~ k ~ 'client' %}
{% set pkg_name = tripleo_clients_install_python_prefix ~ '-' ~ k %}
{% if (tripleo_clients_install_pkg_state == 'present') and (v != tripleo_clients_install_pkg_state) %}
{% set _ = package_sets[v].append(pkg_name) %}
{% else %}