Remove the unnecessary "if" condition
TrivialFix Change-Id: Ib7f07b88055594e594604ed2c4471058719cba56
This commit is contained in:
parent
277f6c058b
commit
5c6cddbcf6
@ -5,22 +5,11 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{% import "macros.j2" as macros with context %}
|
{% import "macros.j2" as macros with context %}
|
||||||
|
|
||||||
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
{% set kubetoolbox_packages = [
|
||||||
|
|
||||||
{% set kubetoolbox_packages = [
|
|
||||||
'jq',
|
'jq',
|
||||||
'ceph-common',
|
'ceph-common',
|
||||||
'ipmitool'
|
'ipmitool'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
|
||||||
|
|
||||||
{% set kubetoolbox_packages = [
|
|
||||||
'jq',
|
|
||||||
'ceph-common',
|
|
||||||
'ipmitool'
|
|
||||||
] %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{{ macros.install_packages(kubetoolbox_packages | customizable("packages")) }}
|
{{ macros.install_packages(kubetoolbox_packages | customizable("packages")) }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user