
Hacluster-pacemaker images need to have pacemaker cli utils available in all distros and they are provided by pacemaker-cli-utils package in Debuntu systems. Due to a different dependency chain this package is not installed in Debian. This package is also *recommended* dependency of pacemaker and pacemaker-remote in both Debian/Ubuntu systems, but unfortunatelly it is not installed on Debian via APT by default. This patch adding this package to list of package to be installed on Debian/Ubuntu systems for both hacluster-pacemaker (required) and hacluster-pacemaker-remote (to ease with debugging). Closes-Bug: #1934788 Change-Id: I055086ab4af37878e81844f1055bc48d84ae9945
20 lines
657 B
Django/Jinja
20 lines
657 B
Django/Jinja
FROM {{ namespace }}/{{ infra_image_prefix }}hacluster-base:{{ tag }}
|
|
{% block labels %}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
{% endblock %}
|
|
|
|
{% block hacluster_pacemaker_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% set hacluster_pacemaker_packages = ['pacemaker'] %}
|
|
{% if base_package_type == 'deb' %}
|
|
{% set hacluster_pacemaker_packages = hacluster_pacemaker_packages + [
|
|
'pacemaker-cli-utils'
|
|
] %}
|
|
{% endif %}
|
|
|
|
{{ macros.install_packages(hacluster_pacemaker_packages | customizable("packages")) }}
|
|
|
|
{% block hacluster_pacemaker_footer %}{% endblock %}
|