Add tacker binary for rpm based distros

Tacker rpm is present in RDO repositories.
Now images can be built for binary installations.

Change-Id: I50203644ae0cc61fe87f2c7af11ff6ea3ef6df8d
This commit is contained in:
Eduardo Gonzalez 2017-04-06 13:08:22 +01:00
parent 3bd8fe8e10
commit 8d76b269c2
3 changed files with 15 additions and 3 deletions

View File

@ -9,8 +9,19 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set tacker_packages = [
'openstack-tacker'
] %}
{% elif base_distro in ['debian', 'ubuntu'] %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
&& /bin/false
{% endif %}
{{ macros.install_packages(tacker_packages | customizable("packages")) }}
{% elif install_type == 'source' %}

View File

@ -0,0 +1,3 @@
---
features:
- Tacker images support binary build from rpm based distros.

View File

@ -85,7 +85,6 @@ class BuildTestCentosBinary(BuildTest, base.BaseTestCase):
"searchlight-base",
"senlin-base",
"solum-base",
"tacker",
"vitrage-base",
"vmtp",
"zun-base",
@ -204,7 +203,6 @@ class BuildTestOracleLinuxBinary(BuildTest, base.BaseTestCase):
"searchlight-base",
"senlin-base",
"solum-base",
"tacker",
"vitrage-base",
"vmtp",
"zun-base",