diff options
| -rw-r--r-- | docker/heat/heat-api-cloudwatch/Dockerfile.j2 | 20 | ||||
| -rw-r--r-- | releasenotes/notes/add-heat-api-cloudwatch-95259c920ba7d19e.yaml | 3 |
2 files changed, 23 insertions, 0 deletions
diff --git a/docker/heat/heat-api-cloudwatch/Dockerfile.j2 b/docker/heat/heat-api-cloudwatch/Dockerfile.j2 new file mode 100644 index 000000000..3c3d2ccf0 --- /dev/null +++ b/docker/heat/heat-api-cloudwatch/Dockerfile.j2 @@ -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 diff --git a/releasenotes/notes/add-heat-api-cloudwatch-95259c920ba7d19e.yaml b/releasenotes/notes/add-heat-api-cloudwatch-95259c920ba7d19e.yaml new file mode 100644 index 000000000..7210fe4ca --- /dev/null +++ b/releasenotes/notes/add-heat-api-cloudwatch-95259c920ba7d19e.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add heat-api-cloudwatch image |
