debian: enable all images enabled for Ubuntu
Debian support is not maintained in Kolla so it got a bit behind Ubuntu one. This changeset enables Debian for all images. Jessie (even with backports) may be too old for some images though. Also unify distro check to ['debian', 'ubuntu'] to keep alphabetical order like it is done for RPM distributions. Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: I056233fbfa277e0e2360c07c3f80d9558c554357
This commit is contained in:
parent
0b6b2c40dd
commit
69fef5cd59
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set aodh_api_packages = ['openstack-aodh-api'] %}
|
{% set aodh_api_packages = ['openstack-aodh-api'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set aodh_api_packages = ['aodh-api'] %}
|
{% set aodh_api_packages = ['aodh-api'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(aodh_api_packages | customizable("packages")) }}
|
{{ macros.install_packages(aodh_api_packages | customizable("packages")) }}
|
||||||
|
@ -23,7 +23,7 @@ RUN mkdir -p /var/www/cgi-bin/aodh \
|
|||||||
&& cp -a /usr/lib/python2.7/site-packages/aodh/api/app.wsgi /var/www/cgi-bin/aodh/ \
|
&& cp -a /usr/lib/python2.7/site-packages/aodh/api/app.wsgi /var/www/cgi-bin/aodh/ \
|
||||||
&& sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
&& sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set aodh_base_packages = [
|
{% set aodh_base_packages = [
|
||||||
'aodh-common',
|
'aodh-common',
|
||||||
@ -52,7 +52,7 @@ RUN mkdir -p /var/www/cgi-bin/aodh \
|
|||||||
RUN mkdir -p /var/www/cgi-bin/aodh \
|
RUN mkdir -p /var/www/cgi-bin/aodh \
|
||||||
&& sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
&& sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set aodh_base_packages = [
|
{% set aodh_base_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set aodh_evaluator_packages = ['openstack-aodh-evaluator'] %}
|
{% set aodh_evaluator_packages = ['openstack-aodh-evaluator'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set aodh_evaluator_packages = ['aodh-evaluator'] %}
|
{% set aodh_evaluator_packages = ['aodh-evaluator'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(aodh_evaluator_packages | customizable("packages")) }}
|
{{ macros.install_packages(aodh_evaluator_packages | customizable("packages")) }}
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set aodh_expirer_packages = ['openstack-aodh-expirer'] %}
|
{% set aodh_expirer_packages = ['openstack-aodh-expirer'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set aodh_expirer_packages = ['aodh-expirer'] %}
|
{% set aodh_expirer_packages = ['aodh-expirer'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(aodh_expirer_packages | customizable("packages")) }}
|
{{ macros.install_packages(aodh_expirer_packages | customizable("packages")) }}
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set aodh_listener_packages = ['openstack-aodh-listener'] %}
|
{% set aodh_listener_packages = ['openstack-aodh-listener'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set aodh_listener_packages = ['aodh-listener'] %}
|
{% set aodh_listener_packages = ['aodh-listener'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(aodh_listener_packages | customizable("packages")) }}
|
{{ macros.install_packages(aodh_listener_packages | customizable("packages")) }}
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set aodh_notifier_packages = ['openstack-aodh-notifier'] %}
|
{% set aodh_notifier_packages = ['openstack-aodh-notifier'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set aodh_notifier_packages = ['aodh-notifier'] %}
|
{% set aodh_notifier_packages = ['aodh-notifier'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(aodh_notifier_packages | customizable("packages")) }}
|
{{ macros.install_packages(aodh_notifier_packages | customizable("packages")) }}
|
||||||
|
@ -11,7 +11,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openstack-barbican-api',
|
'openstack-barbican-api',
|
||||||
'uwsgi-plugin-python'
|
'uwsgi-plugin-python'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set barbican_api_packages = [
|
{% set barbican_api_packages = [
|
||||||
'barbican-api',
|
'barbican-api',
|
||||||
'uwsgi-plugin-python'
|
'uwsgi-plugin-python'
|
||||||
|
@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set barbican_base_packages = ['openstack-barbican-common'] %}
|
{% set barbican_base_packages = ['openstack-barbican-common'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set barbican_base_packages = ['barbican-common'] %}
|
{% set barbican_base_packages = ['barbican-common'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set barbican_base_packages = ['uwsgi-plugin-python'] %}
|
{% set barbican_base_packages = ['uwsgi-plugin-python'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set barbican_base_packages = ['uwsgi-plugin-python'] %}
|
{% set barbican_base_packages = ['uwsgi-plugin-python'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set barbican_keystone_listener_packages = ['openstack-barbican-keystone-listener'] %}
|
{% set barbican_keystone_listener_packages = ['openstack-barbican-keystone-listener'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set barbican_keystone_listener_packages = ['barbican-keystone-listener'] %}
|
{% set barbican_keystone_listener_packages = ['barbican-keystone-listener'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set barbican_worker_packages = ['openstack-barbican-worker'] %}
|
{% set barbican_worker_packages = ['openstack-barbican-worker'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set barbican_worker_packages = ['barbican-worker'] %}
|
{% set barbican_worker_packages = ['barbican-worker'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -201,7 +201,7 @@ RUN yum -y install \
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{# endif for install type is source for RPM based distros #}
|
{# endif for install type is source for RPM based distros #}
|
||||||
{# endif for base_distro centos,oraclelinux,rhel #}
|
{# endif for base_distro centos,oraclelinux,rhel #}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
RUN if [ $(awk -F '=' '/DISTRIB_RELEASE/{print $2}' /etc/lsb-release) != "{{ supported_distro_release }}" ]; then \
|
RUN if [ $(awk -F '=' '/DISTRIB_RELEASE/{print $2}' /etc/lsb-release) != "{{ supported_distro_release }}" ]; then \
|
||||||
echo "Only release '{{ supported_distro_release }}' is supported on {{ base_distro }}"; false; fi
|
echo "Only release '{{ supported_distro_release }}' is supported on {{ base_distro }}"; false; fi
|
||||||
|
@ -26,7 +26,7 @@ RUN ln -s bifrost-base-source/* bifrost \
|
|||||||
|
|
||||||
WORKDIR /bifrost
|
WORKDIR /bifrost
|
||||||
|
|
||||||
{% if base_distro in ['ubuntu', 'debian'] %}
|
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||||
RUN sed -e "s/.*mariadb.*//Ig" -i /etc/apt/sources.list && apt-get purge -y mariadb* mysql*
|
RUN sed -e "s/.*mariadb.*//Ig" -i /etc/apt/sources.list && apt-get purge -y mariadb* mysql*
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ RUN sed -e "s/.*mariadb.*//Ig" -i /etc/apt/sources.list && apt-get purge -y mari
|
|||||||
RUN bash -c './scripts/env-setup.sh && source ./env-vars && \
|
RUN bash -c './scripts/env-setup.sh && source ./env-vars && \
|
||||||
ansible-playbook -vvvv -i /bifrost/playbooks/inventory/target /bifrost/playbooks/install.yaml \
|
ansible-playbook -vvvv -i /bifrost/playbooks/inventory/target /bifrost/playbooks/install.yaml \
|
||||||
-e @/tmp/build_arg.yml && \
|
-e @/tmp/build_arg.yml && \
|
||||||
{% if base_distro in ['ubuntu', 'debian'] %}
|
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||||
apt-get clean'
|
apt-get clean'
|
||||||
{% else %}
|
{% else %}
|
||||||
yum clean all'
|
yum clean all'
|
||||||
|
@ -16,7 +16,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{{ macros.install_packages(ceilometer_api_packages | customizable("packages")) }}
|
{{ macros.install_packages(ceilometer_api_packages | customizable("packages")) }}
|
||||||
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set ceilometer_api_packages = [
|
{% set ceilometer_api_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
'ceilometer-api',
|
'ceilometer-api',
|
||||||
@ -45,7 +45,7 @@ RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
|||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set ceilometer_api_packages = [
|
{% set ceilometer_api_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
|
@ -19,7 +19,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'python-tooz',
|
'python-tooz',
|
||||||
'python-wsme'
|
'python-wsme'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set ceilometer_base_packages = [
|
{% set ceilometer_base_packages = [
|
||||||
'ceilometer-common',
|
'ceilometer-common',
|
||||||
'python-gnocchiclient',
|
'python-gnocchiclient',
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set ceilometer_central_packages = ['openstack-ceilometer-central'] %}
|
{% set ceilometer_central_packages = ['openstack-ceilometer-central'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set ceilometer_central_packages = ['ceilometer-agent-central'] %}
|
{% set ceilometer_central_packages = ['ceilometer-agent-central'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set ceilometer_collector_packages = ['openstack-ceilometer-collector'] %}
|
{% set ceilometer_collector_packages = ['openstack-ceilometer-collector'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set ceilometer_collector_packages = ['ceilometer-collector'] %}
|
{% set ceilometer_collector_packages = ['ceilometer-collector'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openstack-ceilometer-compute',
|
'openstack-ceilometer-compute',
|
||||||
'python-ceilometerclient'
|
'python-ceilometerclient'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set ceilometer_compute_packages = [
|
{% set ceilometer_compute_packages = [
|
||||||
'ceilometer-agent-compute',
|
'ceilometer-agent-compute',
|
||||||
'python-ceilometerclient',
|
'python-ceilometerclient',
|
||||||
@ -25,7 +25,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% set ceilometer_compute_packages = [
|
{% set ceilometer_compute_packages = [
|
||||||
'libvirt-devel'
|
'libvirt-devel'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set ceilometer_compute_packages = [
|
{% set ceilometer_compute_packages = [
|
||||||
'libvirt-dev'
|
'libvirt-dev'
|
||||||
] %}
|
] %}
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set ceilometer_notification_packages = ['openstack-ceilometer-notification'] %}
|
{% set ceilometer_notification_packages = ['openstack-ceilometer-notification'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set ceilometer_notification_packages = ['ceilometer-agent-notification'] %}
|
{% set ceilometer_notification_packages = ['ceilometer-agent-notification'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'parted',
|
'parted',
|
||||||
'xfsprogs'
|
'xfsprogs'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set ceph_base_packages = [
|
{% set ceph_base_packages = [
|
||||||
'btrfs-tools',
|
'btrfs-tools',
|
||||||
'ceph',
|
'ceph',
|
||||||
|
@ -16,7 +16,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{{ macros.install_packages(cinder_api_packages | customizable("packages")) }}
|
{{ macros.install_packages(cinder_api_packages | customizable("packages")) }}
|
||||||
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set cinder_api_packages = [
|
{% set cinder_api_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
'cinder-api',
|
'cinder-api',
|
||||||
@ -36,7 +36,7 @@ RUN echo > /etc/apache2/ports.conf
|
|||||||
{{ macros.install_packages(cinder_api_packages | customizable("packages")) }}
|
{{ macros.install_packages(cinder_api_packages | customizable("packages")) }}
|
||||||
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set cinder_api_packages = [
|
{% set cinder_api_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
'libapache2-mod-wsgi'
|
'libapache2-mod-wsgi'
|
||||||
|
@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% set cinder_backup_packages = [
|
{% set cinder_backup_packages = [
|
||||||
'nfs-utils'
|
'nfs-utils'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set cinder_backup_packages = [
|
{% set cinder_backup_packages = [
|
||||||
'cinder-backup',
|
'cinder-backup',
|
||||||
'nfs-common'
|
'nfs-common'
|
||||||
@ -22,7 +22,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% set cinder_backup_packages = [
|
{% set cinder_backup_packages = [
|
||||||
'nfs-utils'
|
'nfs-utils'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set cinder_backup_packages = [
|
{% set cinder_backup_packages = [
|
||||||
'nfs-common'
|
'nfs-common'
|
||||||
] %}
|
] %}
|
||||||
|
@ -15,7 +15,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openstack-cinder',
|
'openstack-cinder',
|
||||||
'python-automaton'
|
'python-automaton'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set cinder_base_packages = [
|
{% set cinder_base_packages = [
|
||||||
'ceph-common',
|
'ceph-common',
|
||||||
'cinder-common',
|
'cinder-common',
|
||||||
@ -31,7 +31,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'lvm2',
|
'lvm2',
|
||||||
'qemu-img'
|
'qemu-img'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set cinder_base_packages = [
|
{% set cinder_base_packages = [
|
||||||
'ceph-common',
|
'ceph-common',
|
||||||
'lvm2',
|
'lvm2',
|
||||||
|
@ -6,7 +6,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% import "macros.j2" as macros with context %}
|
{% import "macros.j2" as macros with context %}
|
||||||
|
|
||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['ubuntu'] %}
|
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set cinder_scheduler_packages = [
|
{% set cinder_scheduler_packages = [
|
||||||
'cinder-scheduler'
|
'cinder-scheduler'
|
||||||
] %}
|
] %}
|
||||||
|
@ -16,7 +16,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/tgtd.conf
|
RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/tgtd.conf
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set cinder_volume_packages = [
|
{% set cinder_volume_packages = [
|
||||||
'nfs-common',
|
'nfs-common',
|
||||||
'tgt'
|
'tgt'
|
||||||
@ -30,7 +30,7 @@ RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/targets.conf
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['ubuntu', 'debian'] %}
|
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set cinder_volume_packages = [
|
{% set cinder_volume_packages = [
|
||||||
'cinder-volume'
|
'cinder-volume'
|
||||||
] %}
|
] %}
|
||||||
|
@ -12,7 +12,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openstack-cloudkitty-api',
|
'openstack-cloudkitty-api',
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
||||||
&& /bin/false
|
&& /bin/false
|
||||||
|
@ -14,7 +14,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openstack-cloudkitty-common',
|
'openstack-cloudkitty-common',
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
||||||
&& /bin/false
|
&& /bin/false
|
||||||
|
@ -12,7 +12,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openstack-cloudkitty-processor',
|
'openstack-cloudkitty-processor',
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
||||||
&& /bin/false
|
&& /bin/false
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{{ macros.configure_user(name='congress') }}
|
{{ macros.configure_user(name='congress') }}
|
||||||
|
|
||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['ubuntu'] %}
|
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set congress_base_packages = [
|
{% set congress_base_packages = [
|
||||||
'congress-common',
|
'congress-common',
|
||||||
'congress-server']
|
'congress-server']
|
||||||
|
@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'cronie',
|
'cronie',
|
||||||
'logrotate'
|
'logrotate'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set cron_packages = [
|
{% set cron_packages = [
|
||||||
'cron',
|
'cron',
|
||||||
'logrotate'
|
'logrotate'
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set designate_api_packages = ['openstack-designate-api'] %}
|
{% set designate_api_packages = ['openstack-designate-api'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set designate_api_packages = ['designate-api'] %}
|
{% set designate_api_packages = ['designate-api'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(designate_api_packages | customizable("packages")) }}
|
{{ macros.install_packages(designate_api_packages | customizable("packages")) }}
|
||||||
|
@ -10,14 +10,14 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{{ macros.install_packages(designate_backend_bind9_packages | customizable("packages")) }}
|
{{ macros.install_packages(designate_backend_bind9_packages | customizable("packages")) }}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set designate_backend_bind9_packages = ['bind9'] %}
|
{% set designate_backend_bind9_packages = ['bind9'] %}
|
||||||
|
|
||||||
{{ macros.install_packages(designate_backend_bind9_packages | customizable("packages")) }}
|
{{ macros.install_packages(designate_backend_bind9_packages | customizable("packages")) }}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% set designate_backend_bind_name = 'bind' if base_distro in ['ubuntu', 'debian'] else 'named' %}
|
{% set designate_backend_bind_name = 'bind' if base_distro in ['debian', 'ubuntu'] else 'named' %}
|
||||||
|
|
||||||
RUN mkdir -p /var/lib/kolla/ /var/lib/{{ designate_backend_bind_name }}/ /run/{{ designate_backend_bind_name }} \
|
RUN mkdir -p /var/lib/kolla/ /var/lib/{{ designate_backend_bind_name }}/ /run/{{ designate_backend_bind_name }} \
|
||||||
&& chown -R root: /var/lib/{{ designate_backend_bind_name }} /run/{{ designate_backend_bind_name }} \
|
&& chown -R root: /var/lib/{{ designate_backend_bind_name }} /run/{{ designate_backend_bind_name }} \
|
||||||
|
@ -28,7 +28,7 @@ RUN cp /etc/designate/policy.json /tmp/ \
|
|||||||
&& mv /tmp/policy.json /etc/designate/ \
|
&& mv /tmp/policy.json /etc/designate/ \
|
||||||
&& chown designate: /etc/designate/policy.json
|
&& chown designate: /etc/designate/policy.json
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set designate_base_packages = [
|
{% set designate_base_packages = [
|
||||||
'designate-common',
|
'designate-common',
|
||||||
'python-tooz'
|
'python-tooz'
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set designate_central_packages = ['openstack-designate-central'] %}
|
{% set designate_central_packages = ['openstack-designate-central'] %}
|
||||||
{% elif base_distro in ['ubuntu']%}
|
{% elif base_distro in ['debian', 'ubuntu']%}
|
||||||
{% set designate_central_packages = ['designate-central'] %}
|
{% set designate_central_packages = ['designate-central'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(designate_central_packages | customizable("packages")) }}
|
{{ macros.install_packages(designate_central_packages | customizable("packages")) }}
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set designate_mdns_packages = ['openstack-designate-mdns'] %}
|
{% set designate_mdns_packages = ['openstack-designate-mdns'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set designate_mdns_packages = ['designate-mdns'] %}
|
{% set designate_mdns_packages = ['designate-mdns'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(designate_mdns_packages | customizable("packages")) }}
|
{{ macros.install_packages(designate_mdns_packages | customizable("packages")) }}
|
||||||
|
@ -12,7 +12,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'bind',
|
'bind',
|
||||||
'openstack-designate-pool-manager'
|
'openstack-designate-pool-manager'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set designate_pool_manager_packages = [
|
{% set designate_pool_manager_packages = [
|
||||||
'bind9',
|
'bind9',
|
||||||
'designate-pool-manager'
|
'designate-pool-manager'
|
||||||
@ -23,7 +23,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% set designate_pool_manager_packages = [
|
{% set designate_pool_manager_packages = [
|
||||||
'bind'
|
'bind'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set designate_pool_manager_packages = [
|
{% set designate_pool_manager_packages = [
|
||||||
'bind9'
|
'bind9'
|
||||||
] %}
|
] %}
|
||||||
|
@ -11,7 +11,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openstack-designate-sink',
|
'openstack-designate-sink',
|
||||||
'python-designateclient'
|
'python-designateclient'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set designate_sink_packages = [
|
{% set designate_sink_packages = [
|
||||||
'designate-sink',
|
'designate-sink',
|
||||||
'python-designateclient'
|
'python-designateclient'
|
||||||
|
@ -12,7 +12,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'bind',
|
'bind',
|
||||||
'openstack-designate-worker'
|
'openstack-designate-worker'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set designate_worker_packages = [
|
{% set designate_worker_packages = [
|
||||||
'bind9',
|
'bind9',
|
||||||
'designate-worker'
|
'designate-worker'
|
||||||
@ -23,7 +23,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% set designate_worker_packages = [
|
{% set designate_worker_packages = [
|
||||||
'bind'
|
'bind'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set designate_worker_packages = [
|
{% set designate_worker_packages = [
|
||||||
'bind9'
|
'bind9'
|
||||||
] %}
|
] %}
|
||||||
|
@ -12,7 +12,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
# the centos gate and we want to do multinode we can populate this container
|
# the centos gate and we want to do multinode we can populate this container
|
||||||
RUN /bin/true
|
RUN /bin/true
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set dind_packages = [
|
{% set dind_packages = [
|
||||||
'btrfs-tools',
|
'btrfs-tools',
|
||||||
'docker-engine',
|
'docker-engine',
|
||||||
|
@ -15,7 +15,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
ENV JAVA_HOME /usr/lib/jvm/jre-1.7.0-openjdk/
|
ENV JAVA_HOME /usr/lib/jvm/jre-1.7.0-openjdk/
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set elasticsearch_packages = [
|
{% set elasticsearch_packages = [
|
||||||
'elasticsearch',
|
'elasticsearch',
|
||||||
'openjdk-8-jre'
|
'openjdk-8-jre'
|
||||||
|
@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set etcd_packages = ['etcd'] %}
|
{% set etcd_packages = ['etcd'] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set etcd_packages = ['etcd'] %}
|
{% set etcd_packages = ['etcd'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(etcd_packages | customizable("packages")) }}
|
{{ macros.install_packages(etcd_packages | customizable("packages")) }}
|
||||||
|
@ -15,7 +15,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'td-agent'
|
'td-agent'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set fluentd_packages = [
|
{% set fluentd_packages = [
|
||||||
'g++',
|
'g++',
|
||||||
|
@ -23,7 +23,7 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
|||||||
|
|
||||||
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set freezer_api_packages = [
|
{% set freezer_api_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
'libapache2-mod-wsgi'
|
'libapache2-mod-wsgi'
|
||||||
|
@ -7,7 +7,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set glance_api_packages = ['qemu-img'] %}
|
{% set glance_api_packages = ['qemu-img'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set glance_api_packages = ['qemu-utils'] %}
|
{% set glance_api_packages = ['qemu-utils'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'python-rados',
|
'python-rados',
|
||||||
'python-rbd'
|
'python-rbd'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set glance_base_packages = [
|
{% set glance_base_packages = [
|
||||||
'glance',
|
'glance',
|
||||||
'python-rados',
|
'python-rados',
|
||||||
|
@ -11,7 +11,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openstack-gnocchi-api',
|
'openstack-gnocchi-api',
|
||||||
'openstack-gnocchi-indexer-sqlalchemy'
|
'openstack-gnocchi-indexer-sqlalchemy'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set gnocchi_api_packages = ['gnocchi-api'] %}
|
{% set gnocchi_api_packages = ['gnocchi-api'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(gnocchi_api_packages | customizable("packages")) }}
|
{{ macros.install_packages(gnocchi_api_packages | customizable("packages")) }}
|
||||||
|
@ -22,7 +22,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{{ macros.install_packages(gnocchi_base_packages | customizable("packages")) }}
|
{{ macros.install_packages(gnocchi_base_packages | customizable("packages")) }}
|
||||||
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set gnocchi_base_packages = [
|
{% set gnocchi_base_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
@ -50,7 +50,7 @@ RUN truncate -s 0 /etc/apache2/ports.conf
|
|||||||
RUN mkdir -p /var/www/cgi-bin/gnocchi \
|
RUN mkdir -p /var/www/cgi-bin/gnocchi \
|
||||||
&& sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
&& sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set gnocchi_base_packages = [
|
{% set gnocchi_base_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set gnocchi_metricd_packages = ['openstack-gnocchi-metricd'] %}
|
{% set gnocchi_metricd_packages = ['openstack-gnocchi-metricd'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set gnocchi_metricd_packages = ['gnocchi-metricd'] %}
|
{% set gnocchi_metricd_packages = ['gnocchi-metricd'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(gnocchi_metricd_packages | customizable("packages")) }}
|
{{ macros.install_packages(gnocchi_metricd_packages | customizable("packages")) }}
|
||||||
|
@ -7,7 +7,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{{ macros.configure_user(name='haproxy') }}
|
{{ macros.configure_user(name='haproxy') }}
|
||||||
|
|
||||||
{% if base_distro in ['ubuntu', 'debian'] %}
|
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||||
{{ macros.debian_haproxy_existing_user_fix() }}
|
{{ macros.debian_haproxy_existing_user_fix() }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set heat_api_cfn_packages = ['openstack-heat-api-cfn'] %}
|
{% set heat_api_cfn_packages = ['openstack-heat-api-cfn'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set heat_api_cfn_packages = ['heat-api-cfn'] %}
|
{% set heat_api_cfn_packages = ['heat-api-cfn'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(heat_api_cfn_packages | customizable("packages")) }}
|
{{ macros.install_packages(heat_api_cfn_packages | customizable("packages")) }}
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set heat_api_packages = ['openstack-heat-api'] %}
|
{% set heat_api_packages = ['openstack-heat-api'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set heat_api_packages = ['heat-api'] %}
|
{% set heat_api_packages = ['heat-api'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(heat_api_packages | customizable("packages")) }}
|
{{ macros.install_packages(heat_api_packages | customizable("packages")) }}
|
||||||
|
@ -19,7 +19,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{{ macros.install_packages(heat_base_packages | customizable("packages")) }}
|
{{ macros.install_packages(heat_base_packages | customizable("packages")) }}
|
||||||
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set heat_base_packages = [
|
{% set heat_base_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
'heat-common',
|
'heat-common',
|
||||||
@ -42,7 +42,7 @@ RUN echo > /etc/apache2/ports.conf
|
|||||||
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set heat_base_packages = [
|
{% set heat_base_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
|
@ -12,7 +12,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'python-zaqarclient',
|
'python-zaqarclient',
|
||||||
'openstack-heat-engine'
|
'openstack-heat-engine'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set heat_engine_packages = ['heat-engine'] %}
|
{% set heat_engine_packages = ['heat-engine'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(heat_engine_packages | customizable("packages")) }}
|
{{ macros.install_packages(heat_engine_packages | customizable("packages")) }}
|
||||||
|
@ -20,7 +20,7 @@ ENV helm_version=2.1.3 \
|
|||||||
'python-pip'
|
'python-pip'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set helm_repo_packages = [
|
{% set helm_repo_packages = [
|
||||||
'git',
|
'git',
|
||||||
'jq',
|
'jq',
|
||||||
|
@ -44,7 +44,7 @@ RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
|||||||
&& (cd /usr/lib/python2.7/site-packages/openstack_dashboard && /usr/bin/python /usr/bin/manage.py compilemessages)
|
&& (cd /usr/lib/python2.7/site-packages/openstack_dashboard && /usr/bin/python /usr/bin/manage.py compilemessages)
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set horizon_packages = [
|
{% set horizon_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
@ -94,7 +94,7 @@ RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
|||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set horizon_packages = [
|
{% set horizon_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set ironic_api_packages = ['openstack-ironic-api'] %}
|
{% set ironic_api_packages = ['openstack-ironic-api'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set ironic_api_packages = ['ironic-api'] %}
|
{% set ironic_api_packages = ['ironic-api'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set ironic_base_packages = ['openstack-ironic-common'] %}
|
{% set ironic_base_packages = ['openstack-ironic-common'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set ironic_base_packages = ['ironic-common'] %}
|
{% set ironic_base_packages = ['ironic-common'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'socat',
|
'socat',
|
||||||
'util-linux'
|
'util-linux'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
# TODO(jeffrey4l): no python-dracclient, python-oneviewclient, UcsSdk,
|
# TODO(jeffrey4l): no python-dracclient, python-oneviewclient, UcsSdk,
|
||||||
# pyremotevbox, ImcSdk package
|
# pyremotevbox, ImcSdk package
|
||||||
{% set ironic_conductor_packages = [
|
{% set ironic_conductor_packages = [
|
||||||
@ -66,7 +66,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'socat',
|
'socat',
|
||||||
'util-linux'
|
'util-linux'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set ironic_conductor_packages = [
|
{% set ironic_conductor_packages = [
|
||||||
'bsdmainutils',
|
'bsdmainutils',
|
||||||
'dosfstools',
|
'dosfstools',
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set ironic_inspector_packages = ['openstack-ironic-inspector'] %}
|
{% set ironic_inspector_packages = ['openstack-ironic-inspector'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set ironic_inspector_packages = [
|
{% set ironic_inspector_packages = [
|
||||||
'iptables',
|
'iptables',
|
||||||
'ironic-inspector'
|
'ironic-inspector'
|
||||||
@ -20,7 +20,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
COPY ironic_sudoers_binary /etc/sudoers.d/kolla_ironic_inspector_sudoers
|
COPY ironic_sudoers_binary /etc/sudoers.d/kolla_ironic_inspector_sudoers
|
||||||
|
|
||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
{% if base_distro in ['ubuntu'] %}
|
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set ironic_inspector_packages = ['iptables'] %}
|
{% set ironic_inspector_packages = ['iptables'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{{ macros.install_packages(ironic_pxe_packages | customizable("packages")) }}
|
{{ macros.install_packages(ironic_pxe_packages | customizable("packages")) }}
|
||||||
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set ironic_pxe_packages = [
|
{% set ironic_pxe_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
'ipxe',
|
'ipxe',
|
||||||
|
@ -12,7 +12,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'targetcli'
|
'targetcli'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set iscsid_packages = [
|
{% set iscsid_packages = [
|
||||||
'open-iscsi',
|
'open-iscsi',
|
||||||
'python-rtslib',
|
'python-rtslib',
|
||||||
|
@ -12,7 +12,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
||||||
&& /bin/false
|
&& /bin/false
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set kafka_packages = [
|
{% set kafka_packages = [
|
||||||
'default-jre',
|
'default-jre',
|
||||||
] %}
|
] %}
|
||||||
|
@ -11,7 +11,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'keepalived',
|
'keepalived',
|
||||||
'socat'
|
'socat'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set keepalived_packages = [
|
{% set keepalived_packages = [
|
||||||
'keepalived',
|
'keepalived',
|
||||||
'socat'
|
'socat'
|
||||||
|
@ -25,7 +25,7 @@ RUN mkdir -p /var/www/cgi-bin/keystone \
|
|||||||
&& sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
&& sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set keystone_base_packages = [
|
{% set keystone_base_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
'keystone',
|
'keystone',
|
||||||
@ -38,7 +38,7 @@ RUN mkdir -p /var/www/cgi-bin/keystone \
|
|||||||
&& cp -a /usr/bin/keystone-wsgi-public /var/www/cgi-bin/keystone/main \
|
&& cp -a /usr/bin/keystone-wsgi-public /var/www/cgi-bin/keystone/main \
|
||||||
&& cp -a /usr/bin/keystone-wsgi-admin /var/www/cgi-bin/keystone/admin \
|
&& cp -a /usr/bin/keystone-wsgi-admin /var/www/cgi-bin/keystone/admin \
|
||||||
&& echo > /etc/apache2/ports.conf \
|
&& echo > /etc/apache2/ports.conf \
|
||||||
&& rm /etc/apache2/sites-enabled/keystone.conf
|
&& rm -f /etc/apache2/sites-enabled/keystone.conf
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
@ -53,7 +53,7 @@ RUN mkdir -p /var/www/cgi-bin/keystone \
|
|||||||
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set keystone_base_packages = [
|
{% set keystone_base_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
'libapache2-mod-wsgi',
|
'libapache2-mod-wsgi',
|
||||||
|
@ -11,7 +11,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openssh-clients',
|
'openssh-clients',
|
||||||
'rsync'
|
'rsync'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set keystone_fernet_packages = [
|
{% set keystone_fernet_packages = [
|
||||||
'cron',
|
'cron',
|
||||||
'openssh-client',
|
'openssh-client',
|
||||||
|
@ -12,7 +12,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openssh-server',
|
'openssh-server',
|
||||||
'rsync'
|
'rsync'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set keystone_ssh_packages = [
|
{% set keystone_ssh_packages = [
|
||||||
'openssh-server',
|
'openssh-server',
|
||||||
'rsync'
|
'rsync'
|
||||||
|
@ -27,7 +27,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'python-devel'
|
'python-devel'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set kolla_toolbox_packages = [
|
{% set kolla_toolbox_packages = [
|
||||||
'build-essential',
|
'build-essential',
|
||||||
'ca-certificates',
|
'ca-certificates',
|
||||||
|
@ -11,7 +11,7 @@ ENV KUBERNETES_COMPONENT=kube-controller-manager
|
|||||||
{% set ceph_support_packages = [
|
{% set ceph_support_packages = [
|
||||||
'ceph-common'
|
'ceph-common'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set ceph_support_packages = [
|
{% set ceph_support_packages = [
|
||||||
'ceph-common'
|
'ceph-common'
|
||||||
] %}
|
] %}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{% if packages is defined and packages|length > 0 -%}
|
{% if packages is defined and packages|length > 0 -%}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] -%}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] -%}
|
||||||
RUN yum --setopt skip_missing_names_on_install=False -y install {{ packages | join(' ') }} && yum clean all
|
RUN yum --setopt skip_missing_names_on_install=False -y install {{ packages | join(' ') }} && yum clean all
|
||||||
{%- elif base_distro in ['ubuntu', 'debian'] -%}
|
{%- elif base_distro in ['debian', 'ubuntu'] -%}
|
||||||
{#-
|
{#-
|
||||||
debian_package_install is a utility method to build up an appropriate
|
debian_package_install is a utility method to build up an appropriate
|
||||||
set of commands to install packages in a debian-based environment that
|
set of commands to install packages in a debian-based environment that
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set magnum_api_packages = ['openstack-magnum-api'] %}
|
{% set magnum_api_packages = ['openstack-magnum-api'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set magnum_api_packages = ['magnum-api'] %}
|
{% set magnum_api_packages = ['magnum-api'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(magnum_api_packages | customizable("packages")) }}
|
{{ macros.install_packages(magnum_api_packages | customizable("packages")) }}
|
||||||
|
@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux'] %}
|
{% if base_distro in ['centos', 'oraclelinux'] %}
|
||||||
{% set magnum_base_packages = ['openstack-magnum-common'] %}
|
{% set magnum_base_packages = ['openstack-magnum-common'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set magnum_base_packages = ['magnum-common'] %}
|
{% set magnum_base_packages = ['magnum-common'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(magnum_base_packages | customizable("packages")) }}
|
{{ macros.install_packages(magnum_base_packages | customizable("packages")) }}
|
||||||
|
@ -11,7 +11,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openstack-magnum-conductor'
|
'openstack-magnum-conductor'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set magnum_conductor_packages = [
|
{% set magnum_conductor_packages = [
|
||||||
'magnum-conductor'
|
'magnum-conductor'
|
||||||
] %}
|
] %}
|
||||||
|
@ -6,7 +6,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% import "macros.j2" as macros with context %}
|
{% import "macros.j2" as macros with context %}
|
||||||
|
|
||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['ubuntu'] %}
|
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set manila_api_packages = [
|
{% set manila_api_packages = [
|
||||||
'manila-api'
|
'manila-api'
|
||||||
|
@ -15,7 +15,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openvswitch'
|
'openvswitch'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set manila_base_packages = [
|
{% set manila_base_packages = [
|
||||||
'manila-common',
|
'manila-common',
|
||||||
@ -31,7 +31,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{% set manila_base_packages = ['openvswitch'] %}
|
{% set manila_base_packages = ['openvswitch'] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set manila_base_packages = ['openvswitch-switch'] %}
|
{% set manila_base_packages = ['openvswitch-switch'] %}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
||||||
&& /bin/false
|
&& /bin/false
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set manila_data_packages = [
|
{% set manila_data_packages = [
|
||||||
'manila-data'
|
'manila-data'
|
||||||
@ -26,7 +26,7 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
|||||||
'nfs-utils'
|
'nfs-utils'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set manila_data_packages = [
|
{% set manila_data_packages = [
|
||||||
'nfs-common'
|
'nfs-common'
|
||||||
|
@ -6,7 +6,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% import "macros.j2" as macros with context %}
|
{% import "macros.j2" as macros with context %}
|
||||||
|
|
||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['ubuntu'] %}
|
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set manila_scheduler_packages = [
|
{% set manila_scheduler_packages = [
|
||||||
'manila-scheduler'
|
'manila-scheduler'
|
||||||
|
@ -20,7 +20,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'socat',
|
'socat',
|
||||||
'tar'
|
'tar'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set mariadb_packages = [
|
{% set mariadb_packages = [
|
||||||
'expect',
|
'expect',
|
||||||
'mariadb-galera-server',
|
'mariadb-galera-server',
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set mistral_api_packages = ['openstack-mistral-api'] %}
|
{% set mistral_api_packages = ['openstack-mistral-api'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set mistral_api_packages = ['mistral-api'] %}
|
{% set mistral_api_packages = ['mistral-api'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(mistral_api_packages | customizable("packages")) }}
|
{{ macros.install_packages(mistral_api_packages | customizable("packages")) }}
|
||||||
|
@ -11,7 +11,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set mistral_base_packages = ['openstack-mistral-common'] %}
|
{% set mistral_base_packages = ['openstack-mistral-common'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set mistral_base_packages = ['mistral-common'] %}
|
{% set mistral_base_packages = ['mistral-common'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(mistral_base_packages | customizable("packages")) }}
|
{{ macros.install_packages(mistral_base_packages | customizable("packages")) }}
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set mistral_engine_packages = ['openstack-mistral-engine'] %}
|
{% set mistral_engine_packages = ['openstack-mistral-engine'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set mistral_engine_packages = ['mistral-engine'] %}
|
{% set mistral_engine_packages = ['mistral-engine'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(mistral_engine_packages | customizable("packages")) }}
|
{{ macros.install_packages(mistral_engine_packages | customizable("packages")) }}
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set mistral_executor_packages = ['openstack-mistral-executor'] %}
|
{% set mistral_executor_packages = ['openstack-mistral-executor'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set mistral_executor_packages = ['mistral-executor'] %}
|
{% set mistral_executor_packages = ['mistral-executor'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(mistral_executor_packages | customizable("packages")) }}
|
{{ macros.install_packages(mistral_executor_packages | customizable("packages")) }}
|
||||||
|
@ -12,7 +12,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'mongodb',
|
'mongodb',
|
||||||
'mongodb-server'
|
'mongodb-server'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set mongodb_packages = [
|
{% set mongodb_packages = [
|
||||||
'mongodb-server'
|
'mongodb-server'
|
||||||
] %}
|
] %}
|
||||||
|
@ -7,7 +7,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set multipathd_packages = ['device-mapper-multipath'] %}
|
{% set multipathd_packages = ['device-mapper-multipath'] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set multipathd_packages = ['multipath-tools'] %}
|
{% set multipathd_packages = ['multipath-tools'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
RUN ln -s /var/cache/murano/meta/io.murano.zip /io.murano.zip
|
RUN ln -s /var/cache/murano/meta/io.murano.zip /io.murano.zip
|
||||||
{% set murano_api_packages = ['openstack-murano-api'] %}
|
{% set murano_api_packages = ['openstack-murano-api'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
RUN ln -s /usr/share/murano-common/io.murano.zip /io.murano.zip
|
RUN ln -s /usr/share/murano-common/io.murano.zip /io.murano.zip
|
||||||
{% set murano_api_packages = ['murano-api'] %}
|
{% set murano_api_packages = ['murano-api'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -11,7 +11,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set murano_base_packages = ['openstack-murano-common'] %}
|
{% set murano_base_packages = ['openstack-murano-common'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set murano_base_packages = ['murano-common'] %}
|
{% set murano_base_packages = ['murano-common'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set murano_engine_packages = ['openstack-murano-engine'] %}
|
{% set murano_engine_packages = ['openstack-murano-engine'] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set murano_engine_packages = ['murano-engine'] %}
|
{% set murano_engine_packages = ['murano-engine'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{{ macros.configure_user(name='neutron') }}
|
{{ macros.configure_user(name='neutron') }}
|
||||||
|
|
||||||
{% if base_distro in ['ubuntu', 'debian'] %}
|
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||||
{{ macros.debian_haproxy_existing_user_fix() }}
|
{{ macros.debian_haproxy_existing_user_fix() }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@ -23,6 +23,17 @@ MAINTAINER {{ maintainer }}
|
|||||||
'python-openvswitch'
|
'python-openvswitch'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
|
{% elif base_distro in ['debian'] %}
|
||||||
|
|
||||||
|
{% set neutron_base_packages = [
|
||||||
|
'iproute2',
|
||||||
|
'keepalived',
|
||||||
|
'neutron-plugin-ml2',
|
||||||
|
'neutron-server',
|
||||||
|
'openvswitch-switch',
|
||||||
|
'python-openvswitch'
|
||||||
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
{% set neutron_base_packages = [
|
{% set neutron_base_packages = [
|
||||||
@ -39,7 +50,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{{ macros.install_packages(neutron_base_packages | customizable("packages")) }}
|
{{ macros.install_packages(neutron_base_packages | customizable("packages")) }}
|
||||||
|
|
||||||
{% if base_distro in ['ubuntu'] %}
|
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
RUN mkdir -p /usr/share/neutron \
|
RUN mkdir -p /usr/share/neutron \
|
||||||
&& ln -s /etc/neutron/api-paste.ini /usr/share/neutron/api-paste.ini
|
&& ln -s /etc/neutron/api-paste.ini /usr/share/neutron/api-paste.ini
|
||||||
@ -61,7 +72,7 @@ RUN mkdir -p /usr/share/neutron \
|
|||||||
'uuid'
|
'uuid'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set neutron_base_packages = [
|
{% set neutron_base_packages = [
|
||||||
'conntrack',
|
'conntrack',
|
||||||
|
@ -5,7 +5,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{% import "macros.j2" as macros with context %}
|
{% import "macros.j2" as macros with context %}
|
||||||
|
|
||||||
{% if base_distro in ['ubuntu', 'debian'] %}
|
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
|
|
||||||
{% set neutron_dhcp_agent_packages = [
|
{% set neutron_dhcp_agent_packages = [
|
||||||
|
@ -6,7 +6,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% import "macros.j2" as macros with context %}
|
{% import "macros.j2" as macros with context %}
|
||||||
|
|
||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['ubuntu', 'debian'] %}
|
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set neutron_l3_agent_packages = [
|
{% set neutron_l3_agent_packages = [
|
||||||
'neutron-l3-agent'
|
'neutron-l3-agent'
|
||||||
|
@ -18,7 +18,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openstack-neutron-lbaas'
|
'openstack-neutron-lbaas'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set neutron_lbaas_agent_packages = [
|
{% set neutron_lbaas_agent_packages = [
|
||||||
'neutron-lbaas-common',
|
'neutron-lbaas-common',
|
||||||
|
@ -13,7 +13,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openstack-neutron-linuxbridge'
|
'openstack-neutron-linuxbridge'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set neutron_linuxbridge_agent_packages = [
|
{% set neutron_linuxbridge_agent_packages = [
|
||||||
'ebtables',
|
'ebtables',
|
||||||
|
@ -5,7 +5,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{% import "macros.j2" as macros with context %}
|
{% import "macros.j2" as macros with context %}
|
||||||
|
|
||||||
{% if base_distro in ['ubuntu', 'debian'] %}
|
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
|
|
||||||
{% set neutron_metadata_agent_packages = [
|
{% set neutron_metadata_agent_packages = [
|
||||||
|
@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set neutron_metering_agent_packages = ['openstack-neutron-metering-agent'] %}
|
{% set neutron_metering_agent_packages = ['openstack-neutron-metering-agent'] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set neutron_metering_agent_packages = ['neutron-metering-agent'] %}
|
{% set neutron_metering_agent_packages = ['neutron-metering-agent'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openvswitch'
|
'openvswitch'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set neutron_openvswitch_agent_packages = [
|
{% set neutron_openvswitch_agent_packages = [
|
||||||
'neutron-plugin-openvswitch-agent',
|
'neutron-plugin-openvswitch-agent',
|
||||||
|
@ -13,7 +13,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openstack-neutron-vpnaas',
|
'openstack-neutron-vpnaas',
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set neutron_server_packages = [
|
{% set neutron_server_packages = [
|
||||||
'neutron-lbaasv2-agent',
|
'neutron-lbaasv2-agent',
|
||||||
|
@ -11,7 +11,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openstack-neutron-vpn-agent',
|
'openstack-neutron-vpn-agent',
|
||||||
'openswan'
|
'openswan'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set neutron_vpnaas_agent_packages = [
|
{% set neutron_vpnaas_agent_packages = [
|
||||||
'neutron-vpn-agent',
|
'neutron-vpn-agent',
|
||||||
'strongswan'
|
'strongswan'
|
||||||
@ -26,7 +26,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% set neutron_vpnaas_agent_packages = [
|
{% set neutron_vpnaas_agent_packages = [
|
||||||
'openswan'
|
'openswan'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set neutron_vpnaas_agent_packages = [
|
{% set neutron_vpnaas_agent_packages = [
|
||||||
'strongswan'
|
'strongswan'
|
||||||
] %}
|
] %}
|
||||||
@ -55,6 +55,6 @@ RUN chmod 755 /usr/local/bin/kolla_neutron_extend_start
|
|||||||
# TODO(pbourke): The libreswan driver required by redhat derived bases
|
# TODO(pbourke): The libreswan driver required by redhat derived bases
|
||||||
# currently requires root in Neutron. Remove this if condition once
|
# currently requires root in Neutron. Remove this if condition once
|
||||||
# https://bugs.launchpad.net/neutron/+bug/1644517 is addressed.
|
# https://bugs.launchpad.net/neutron/+bug/1644517 is addressed.
|
||||||
{% if base_distro in ['ubuntu', 'debian'] %}
|
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||||
USER neutron
|
USER neutron
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -18,7 +18,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set nova_api_packages = [
|
{% set nova_api_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
@ -44,7 +44,7 @@ RUN echo > /etc/apache2/ports.conf
|
|||||||
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
|
||||||
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set nova_api_packages = [
|
{% set nova_api_packages = [
|
||||||
'apache2',
|
'apache2',
|
||||||
|
@ -18,7 +18,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'python-keystoneclient'
|
'python-keystoneclient'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set nova_base_packages = [
|
{% set nova_base_packages = [
|
||||||
'bridge-utils',
|
'bridge-utils',
|
||||||
@ -39,7 +39,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openvswitch'
|
'openvswitch'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set nova_base_packages = [
|
{% set nova_base_packages = [
|
||||||
'bridge-utils',
|
'bridge-utils',
|
||||||
|
@ -14,7 +14,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{{ macros.install_packages(nova_compute_ironic_packages | customizable("packages")) }}
|
{{ macros.install_packages(nova_compute_ironic_packages | customizable("packages")) }}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set nova_compute_ironic_packages = [
|
{% set nova_compute_ironic_packages = [
|
||||||
'nova-compute'
|
'nova-compute'
|
||||||
|
@ -22,7 +22,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{{ macros.install_packages(nova_compute_packages | customizable("packages")) }}
|
{{ macros.install_packages(nova_compute_packages | customizable("packages")) }}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
# ironic as workaround https://bugs.launchpad.net/packstack/+bug/1430388
|
# ironic as workaround https://bugs.launchpad.net/packstack/+bug/1430388
|
||||||
{% set nova_compute_packages = [
|
{% set nova_compute_packages = [
|
||||||
@ -62,7 +62,7 @@ RUN rm -f /etc/nova/nova-compute.conf
|
|||||||
'targetcli'
|
'targetcli'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set nova_compute_packages = [
|
{% set nova_compute_packages = [
|
||||||
'ceph-common',
|
'ceph-common',
|
||||||
|
@ -12,7 +12,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'openstack-nova-conductor'
|
'openstack-nova-conductor'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
|
||||||
{% set nova_conductor_packages = [
|
{% set nova_conductor_packages = [
|
||||||
'nova-conductor'
|
'nova-conductor'
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user