Merge "Remove the unnecessary "if" condition"

This commit is contained in:
Jenkins 2016-10-24 08:25:19 +00:00 committed by Gerrit Code Review
commit 3abf37f769

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")) }}