Fix missing pacemaker-cli-utils in Debian hacluster images
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
This commit is contained in:
parent
5e0b238b01
commit
535c861d99
@ -8,6 +8,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
{% import "macros.j2" as macros with context %}
|
||||
|
||||
{% set hacluster_pacemaker_remote_packages = ['pacemaker-remote'] %}
|
||||
{% if base_package_type == 'deb' %}
|
||||
{% set hacluster_pacemaker_remote_packages = hacluster_pacemaker_remote_packages + [
|
||||
'pacemaker-cli-utils'
|
||||
] %}
|
||||
{% endif %}
|
||||
|
||||
{{ macros.install_packages(hacluster_pacemaker_remote_packages | customizable("packages")) }}
|
||||
|
||||
{% block hacluster_pacemaker_remote_footer %}{% endblock %}
|
||||
|
@ -8,6 +8,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
{% 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 %}
|
||||
|
5
releasenotes/notes/bug-1934788-b1fd51f443479fb6.yaml
Normal file
5
releasenotes/notes/bug-1934788-b1fd51f443479fb6.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Add missing pacemaker cli utils to Debian hacluster images.
|
||||
`LP#1934788 <https://launchpad.net/bugs/1934788>`__
|
Loading…
Reference in New Issue
Block a user