aboutsummaryrefslogtreecommitdiff
path: root/docker/cinder/cinder-base
diff options
context:
space:
mode:
authorEduardo Gonzalez <dabarren@gmail.com>2017-03-23 20:06:50 +0000
committerEduardo Gonzalez <dabarren@gmail.com>2017-03-28 16:45:16 +0100
commit623e54da372563d068f0edf979b04996d70b306c (patch)
tree10418a89eaed60e17cf0b01a472fc9fe146f9041 /docker/cinder/cinder-base
parentce716ebe228a29f37fbdfc69aaa34413e6f409a5 (diff)
downloadkolla-623e54da372563d068f0edf979b04996d70b306c.tar.gz
kolla-623e54da372563d068f0edf979b04996d70b306c.zip
Alphabetize packages
Some images have packages sorted alphabetically and some not. Unify common style between all images. Change-Id: I906ed89c10b12886665618752f525ba71d83d991
Diffstat (limited to 'docker/cinder/cinder-base')
-rw-r--r--docker/cinder/cinder-base/Dockerfile.j216
1 files changed, 8 insertions, 8 deletions
diff --git a/docker/cinder/cinder-base/Dockerfile.j2 b/docker/cinder/cinder-base/Dockerfile.j2
index 531637b76..5e3052058 100644
--- a/docker/cinder/cinder-base/Dockerfile.j2
+++ b/docker/cinder/cinder-base/Dockerfile.j2
@@ -10,15 +10,15 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set cinder_base_packages = [
- 'openstack-cinder',
- 'python-automaton',
+ 'ceph-common',
'lvm2',
- 'ceph-common'
+ 'openstack-cinder',
+ 'python-automaton'
] %}
{% elif base_distro in ['ubuntu'] %}
{% set cinder_base_packages = [
- 'cinder-common',
'ceph-common',
+ 'cinder-common',
'lvm2'
] %}
{% endif %}
@@ -27,15 +27,15 @@ MAINTAINER {{ maintainer }}
{% elif install_type == 'source' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set cinder_base_packages = [
+ 'ceph-common',
'lvm2',
- 'qemu-img',
- 'ceph-common'
+ 'qemu-img'
] %}
{% elif base_distro in ['ubuntu', 'debian'] %}
{% set cinder_base_packages = [
+ 'ceph-common',
'lvm2',
- 'qemu-utils',
- 'ceph-common'
+ 'qemu-utils'
] %}
{% endif %}
{{ macros.install_packages(cinder_base_packages | customizable("packages")) }}