Remove the unnecessary "if" condition

TrivialFix

Change-Id: Ib7f07b88055594e594604ed2c4471058719cba56
This commit is contained in:
caoyuan 2016-10-22 00:20:18 +08:00
parent 277f6c058b
commit 5c6cddbcf6

View File

@ -5,22 +5,11 @@ MAINTAINER {{ maintainer }}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
{% set kubetoolbox_packages = [
'jq',
'ceph-common',
'ipmitool'
] %}
{% elif base_distro in ['ubuntu', 'debian'] %}
{% set kubetoolbox_packages = [
'jq',
'ceph-common',
'ipmitool'
] %}
{% endif %}
{% set kubetoolbox_packages = [
'jq',
'ceph-common',
'ipmitool'
] %}
{{ macros.install_packages(kubetoolbox_packages | customizable("packages")) }}