Add heat-api-cloudwatch image

The heat-api-cloudwatch service is used in TripleO.

Partially-Implements: blueprint containerize-tripleo
Change-Id: I98d251ea34cf7ee451b45f0b8c6873488a229c36
This commit is contained in:
Martin André
2017-03-08 11:40:12 +01:00
parent 18fe77689b
commit dff9c6cfcc
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
FROM {{ namespace }}/{{ image_prefix }}heat-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block heat_api_cloudwatch_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set heat_api_cloudwatch_packages = ['openstack-heat-api-cloudwatch'] %}
{% elif base_distro in ['ubuntu'] %}
{% set heat_api_cloudwatch_packages = ['heat-api-cloudwatch'] %}
{% endif %}
{{ macros.install_packages(heat_api_cloudwatch_packages | customizable("packages")) }}
{% endif %}
{% block heat_api_cloudwatch_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER heat

View File

@@ -0,0 +1,3 @@
---
features:
- Add heat-api-cloudwatch image