Merge "Handle empty package list for install_packages"

This commit is contained in:
Jenkins 2016-08-19 13:28:55 +00:00 committed by Gerrit Code Review
commit 24c55ff789
84 changed files with 112 additions and 110 deletions

View File

@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set aodh_api_packages = ['aodh-api'] %} {% set aodh_api_packages = ['aodh-api'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(aodh_api_packages | customizable("packages")) }} {{ macros.install_packages(aodh_api_packages | customizable("packages")) }}
{% endif %} {% endif %}
COPY extend_start.sh /usr/local/bin/kolla_aodh_extend_start COPY extend_start.sh /usr/local/bin/kolla_aodh_extend_start

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set aodh_base_packages = ['aodh-common'] %} {% set aodh_base_packages = ['aodh-common'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(aodh_base_packages | customizable("packages")) }} {{ macros.install_packages(aodh_base_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}

View File

@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set aodh_evaluator_packages = ['aodh-evaluator'] %} {% set aodh_evaluator_packages = ['aodh-evaluator'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(aodh_evaluator_packages | customizable("packages")) }} {{ macros.install_packages(aodh_evaluator_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% block aodh_evaluator_footer %}{% endblock %} {% block aodh_evaluator_footer %}{% endblock %}

View File

@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set aodh_expirer_packages = ['aodh-expirer'] %} {% set aodh_expirer_packages = ['aodh-expirer'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(aodh_expirer_packages | customizable("packages")) }} {{ macros.install_packages(aodh_expirer_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% block aodh_expirer_footer %}{% endblock %} {% block aodh_expirer_footer %}{% endblock %}

View File

@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set aodh_listener_packages = ['aodh-listener'] %} {% set aodh_listener_packages = ['aodh-listener'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(aodh_listener_packages | customizable("packages")) }} {{ macros.install_packages(aodh_listener_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% block aodh_listener_footer %}{% endblock %} {% block aodh_listener_footer %}{% endblock %}

View File

@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set aodh_notifier_packages = ['aodh-notifier'] %} {% set aodh_notifier_packages = ['aodh-notifier'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(aodh_notifier_packages | customizable("packages")) }} {{ macros.install_packages(aodh_notifier_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% block aodh_notifier_footer %}{% endblock %} {% block aodh_notifier_footer %}{% endblock %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% set ceilometer_api_packages = ['ceilometer-api'] %} {% set ceilometer_api_packages = ['ceilometer-api'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(ceilometer_api_packages | customizable("packages")) }} {{ macros.install_packages(ceilometer_api_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -17,7 +17,7 @@ MAINTAINER {{ maintainer }}
] %} ] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(ceilometer_base_packages | customizable("packages")) }} {{ macros.install_packages(ceilometer_base_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% set ceilometer_central_packages = ['ceilometer-agent-central'] %} {% set ceilometer_central_packages = ['ceilometer-agent-central'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(ceilometer_central_packages | customizable("packages")) }} {{ macros.install_packages(ceilometer_central_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% set ceilometer_collector_packages = ['ceilometer-collector'] %} {% set ceilometer_collector_packages = ['ceilometer-collector'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(ceilometer_collector_packages | customizable("packages")) }} {{ macros.install_packages(ceilometer_collector_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -16,7 +16,7 @@ MAINTAINER {{ maintainer }}
] %} ] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(ceilometer_compute_packages | customizable("packages")) }} {{ macros.install_packages(ceilometer_compute_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% set ceilometer_notification_packages = ['ceilometer-agent-notification'] %} {% set ceilometer_notification_packages = ['ceilometer-agent-notification'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(ceilometer_notification_packages | customizable("packages")) }} {{ macros.install_packages(ceilometer_notification_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -19,7 +19,7 @@ MAINTAINER {{ maintainer }}
'btrfs-tools' 'btrfs-tools'
] %} ] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(ceph_base_packages | customizable("packages")) }} {{ macros.install_packages(ceph_base_packages | customizable("packages")) }}
COPY extend_start.sh /usr/local/bin/kolla_extend_start COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start RUN chmod 755 /usr/local/bin/kolla_extend_start

View File

@ -19,7 +19,7 @@ MAINTAINER {{ maintainer }}
{% endif %} {% endif %}
RUN {{ macros.install_packages(cinder_api_packages | customizable("packages")) }} {{ macros.install_packages(cinder_api_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
'cinder-backup' 'cinder-backup'
] %} ] %}
RUN {{ macros.install_packages(cinder_backup_packages | customizable("packages")) }} {{ macros.install_packages(cinder_backup_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -23,7 +23,7 @@ MAINTAINER {{ maintainer }}
{% endif %} {% endif %}
RUN {{ macros.install_packages(cinder_base_packages | customizable("packages")) }} {{ macros.install_packages(cinder_base_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
@ -44,7 +44,7 @@ RUN {{ macros.install_packages(cinder_base_packages | customizable("packages"))
{% endif %} {% endif %}
RUN {{ macros.install_packages(cinder_base_packages | customizable("packages")) }} {{ macros.install_packages(cinder_base_packages | customizable("packages")) }}
ADD cinder-base-archive /cinder-base-source ADD cinder-base-archive /cinder-base-source
RUN ln -s cinder-base-source/* cinder \ RUN ln -s cinder-base-source/* cinder \

View File

@ -18,7 +18,7 @@ MAINTAINER {{ maintainer }}
{% endif %} {% endif %}
RUN {{ macros.install_packages(cinder_rpcbind_packages | customizable("packages")) }} {{ macros.install_packages(cinder_rpcbind_packages | customizable("packages")) }}
{% block cinder_rpcbind_footer %}{% endblock %} {% block cinder_rpcbind_footer %}{% endblock %}
{% block footer %}{% endblock %} {% block footer %}{% endblock %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
'cinder-scheduler' 'cinder-scheduler'
] %} ] %}
RUN {{ macros.install_packages(cinder_scheduler_packages | customizable("packages")) }} {{ macros.install_packages(cinder_scheduler_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
'scsi-target-utils' 'scsi-target-utils'
] %} ] %}
RUN {{ macros.install_packages(cinder_volume_packages | customizable("packages")) }} {{ macros.install_packages(cinder_volume_packages | customizable("packages")) }}
{% block cinder_volume_redhat_setup %} {% block cinder_volume_redhat_setup %}
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
@ -21,7 +21,7 @@ RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/tgtd.conf
'tgt' 'tgt'
] %} ] %}
RUN {{ macros.install_packages(cinder_volume_packages | customizable("packages")) }} {{ macros.install_packages(cinder_volume_packages | customizable("packages")) }}
{% block cinder_volume_ubuntu_setup %} {% block cinder_volume_ubuntu_setup %}
RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/targets.conf RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/targets.conf
@ -36,7 +36,7 @@ RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/targets.conf
'cinder-volume' 'cinder-volume'
] %} ] %}
RUN {{ macros.install_packages(cinder_volume_packages | customizable("packages")) }} {{ macros.install_packages(cinder_volume_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -14,7 +14,7 @@ MAINTAINER {{ maintainer }}
] %} ] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(cron_packages | customizable("packages")) }} {{ macros.install_packages(cron_packages | customizable("packages")) }}
COPY extend_start.sh /usr/local/bin/kolla_extend_start COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start RUN chmod 755 /usr/local/bin/kolla_extend_start

View File

@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set designate_api_packages = ['designate-api'] %} {% set designate_api_packages = ['designate-api'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(designate_api_packages | customizable("packages")) }} {{ macros.install_packages(designate_api_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% block designate_api_footer %}{% endblock %} {% block designate_api_footer %}{% endblock %}

View File

@ -6,14 +6,14 @@ MAINTAINER {{ maintainer }}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
{% set designate_backend_bind9_packages = ['bind'] %} {% set designate_backend_bind9_packages = ['bind'] %}
RUN {{ macros.install_packages(designate_backend_bind9_packages | customizable("packages")) }} {{ macros.install_packages(designate_backend_bind9_packages | customizable("packages")) }}
RUN mkdir -p /var/lib/kolla/ \ RUN mkdir -p /var/lib/kolla/ \
&& cp -pr /var/named /var/lib/kolla/var-named && cp -pr /var/named /var/lib/kolla/var-named
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set designate_backend_bind9_packages = ['bind9'] %} {% set designate_backend_bind9_packages = ['bind9'] %}
RUN {{ macros.install_packages(designate_backend_bind9_packages | customizable("packages")) }} {{ macros.install_packages(designate_backend_bind9_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -17,7 +17,7 @@ MAINTAINER {{ maintainer }}
'python2-suds' 'python2-suds'
] %} ] %}
RUN {{ macros.install_packages(designate_base_packages | customizable("packages")) }} {{ macros.install_packages(designate_base_packages | customizable("packages")) }}
RUN cp /etc/designate/policy.json /tmp/ \ RUN cp /etc/designate/policy.json /tmp/ \
&& rpm -e openstack-designate-api \ && rpm -e openstack-designate-api \
&& mv /tmp/policy.json /etc/designate/ \ && mv /tmp/policy.json /etc/designate/ \
@ -29,7 +29,7 @@ RUN cp /etc/designate/policy.json /tmp/ \
'python-tooz' 'python-tooz'
] %} ] %}
RUN {{ macros.install_packages(designate_base_packages | customizable("packages")) }} {{ macros.install_packages(designate_base_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}

View File

@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu']%} {% elif base_distro in ['ubuntu']%}
{% set designate_central_packages = ['designate-central'] %} {% set designate_central_packages = ['designate-central'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(designate_central_packages | customizable("packages")) }} {{ macros.install_packages(designate_central_packages | customizable("packages")) }}
{% endif %} {% endif %}
COPY extend_start.sh /usr/local/bin/kolla_extend_start COPY extend_start.sh /usr/local/bin/kolla_extend_start

View File

@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set designate_mdns_packages = ['designate-mdns'] %} {% set designate_mdns_packages = ['designate-mdns'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(designate_mdns_packages | customizable("packages")) }} {{ macros.install_packages(designate_mdns_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% block designate_mdns_footer %}{% endblock %} {% block designate_mdns_footer %}{% endblock %}

View File

@ -15,7 +15,7 @@ MAINTAINER {{ maintainer }}
'designate-pool-manager' 'designate-pool-manager'
] %} ] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(designate_pool_manager_packages | customizable("packages")) }} {{ macros.install_packages(designate_pool_manager_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% block designate_pool_manager_footer %}{% endblock %} {% block designate_pool_manager_footer %}{% endblock %}

View File

@ -14,7 +14,7 @@ MAINTAINER {{ maintainer }}
'designateclient' 'designateclient'
] %} ] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(designate_sink_packages | customizable("packages")) }} {{ macros.install_packages(designate_sink_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% block designate_sink_footer %}{% endblock %} {% block designate_sink_footer %}{% endblock %}

View File

@ -18,7 +18,7 @@ MAINTAINER {{ maintainer }}
] %} ] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(glance_base_packages | customizable("packages")) }} {{ macros.install_packages(glance_base_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
{% set glance_base_packages = [ {% set glance_base_packages = [
@ -26,7 +26,7 @@ RUN {{ macros.install_packages(glance_base_packages | customizable("packages"))
'python-rados' 'python-rados'
] %} ] %}
RUN {{ macros.install_packages(glance_base_packages | customizable("packages")) }} {{ macros.install_packages(glance_base_packages | customizable("packages")) }}
ADD glance-base-archive /glance-base-source ADD glance-base-archive /glance-base-source
RUN ln -s glance-base-source/* glance \ RUN ln -s glance-base-source/* glance \

View File

@ -12,7 +12,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set gnocchi_api_packages = ['gnocchi-api'] %} {% set gnocchi_api_packages = ['gnocchi-api'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(gnocchi_api_packages | customizable("packages")) }} {{ macros.install_packages(gnocchi_api_packages | customizable("packages")) }}
{% endif %} {% endif %}
COPY extend_start.sh /usr/local/bin/kolla_gnocchi_extend_start COPY extend_start.sh /usr/local/bin/kolla_gnocchi_extend_start

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set gnocchi_base_packages = ['gnocchi-common'] %} {% set gnocchi_base_packages = ['gnocchi-common'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(gnocchi_base_packages | customizable("packages")) }} {{ macros.install_packages(gnocchi_base_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}

View File

@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set gnocchi_metricd_packages = ['gnocchi-metricd'] %} {% set gnocchi_metricd_packages = ['gnocchi-metricd'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(gnocchi_metricd_packages | customizable("packages")) }} {{ macros.install_packages(gnocchi_metricd_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% block gnocchi_metricd_footer %}{% endblock %} {% block gnocchi_metricd_footer %}{% endblock %}

View File

@ -7,7 +7,7 @@ MAINTAINER {{ maintainer }}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
{% set gnocchi_statsd_packages = ['openstack-gnocchi-statsd'] %} {% set gnocchi_statsd_packages = ['openstack-gnocchi-statsd'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(gnocchi_statsd_packages | customizable("packages")) }} {{ macros.install_packages(gnocchi_statsd_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% block gnocchi_statsd_footer %}{% endblock %} {% block gnocchi_statsd_footer %}{% endblock %}

View File

@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
{% import "macros.j2" as macros with context %} {% import "macros.j2" as macros with context %}
{% set haproxy_packages = ['haproxy'] %} {% set haproxy_packages = ['haproxy'] %}
RUN {{ macros.install_packages(haproxy_packages | customizable("packages")) }} {{ macros.install_packages(haproxy_packages | customizable("packages")) }}
RUN usermod -a -G kolla haproxy \ RUN usermod -a -G kolla haproxy \
&& mkdir -p /var/lib/kolla/haproxy \ && mkdir -p /var/lib/kolla/haproxy \

View File

@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set heat_api_cfn_packages = ['heat-api-cfn'] %} {% set heat_api_cfn_packages = ['heat-api-cfn'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(heat_api_cfn_packages | customizable("packages")) }} {{ macros.install_packages(heat_api_cfn_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% block heat_api_cfn_footer %}{% endblock %} {% block heat_api_cfn_footer %}{% endblock %}

View File

@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set heat_api_packages = ['heat-api'] %} {% set heat_api_packages = ['heat-api'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(heat_api_packages | customizable("packages")) }} {{ macros.install_packages(heat_api_packages | customizable("packages")) }}
{% endif %} {% endif %}
COPY extend_start.sh /usr/local/bin/kolla_heat_extend_start COPY extend_start.sh /usr/local/bin/kolla_heat_extend_start

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set heat_base_packages = ['heat-common'] %} {% set heat_base_packages = ['heat-common'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(heat_base_packages | customizable("packages")) }} {{ macros.install_packages(heat_base_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}

View File

@ -13,7 +13,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set heat_engine_packages = ['heat-engine'] %} {% set heat_engine_packages = ['heat-engine'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(heat_engine_packages | customizable("packages")) }} {{ macros.install_packages(heat_engine_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% block heat_engine_footer %}{% endblock %} {% block heat_engine_footer %}{% endblock %}

View File

@ -16,7 +16,7 @@ RUN useradd --user-group heka \
] %} ] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(heka_packages | customizable("packages")) }} {{ macros.install_packages(heka_packages | customizable("packages")) }}
COPY plugins/modules /usr/share/heka/lua_modules/ COPY plugins/modules /usr/share/heka/lua_modules/
COPY plugins/decoders /usr/share/heka/lua_decoders/ COPY plugins/decoders /usr/share/heka/lua_decoders/

View File

@ -13,7 +13,7 @@ MAINTAINER {{ maintainer }}
'gettext' 'gettext'
] %} ] %}
RUN {{ macros.install_packages(horizon_packages | customizable("packages")) }} {{ macros.install_packages(horizon_packages | customizable("packages")) }}
{% block horizon_redhat_binary_setup %} {% block horizon_redhat_binary_setup %}
RUN useradd --user-group horizon \ RUN useradd --user-group horizon \
@ -38,7 +38,7 @@ RUN useradd --user-group horizon \
'gettext' 'gettext'
] %} ] %}
RUN {{ macros.install_packages(horizon_packages | customizable("packages")) }} {{ macros.install_packages(horizon_packages | customizable("packages")) }}
{% block horizon_ubuntu_binary_setup %} {% block horizon_ubuntu_binary_setup %}
RUN echo > /etc/apache2/ports.conf \ RUN echo > /etc/apache2/ports.conf \
@ -69,7 +69,7 @@ RUN echo > /etc/apache2/ports.conf \
'gettext' 'gettext'
] %} ] %}
RUN {{ macros.install_packages(horizon_packages | customizable("packages")) }} {{ macros.install_packages(horizon_packages | customizable("packages")) }}
{% block horizon_redhat_source_setup %} {% block horizon_redhat_source_setup %}
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
@ -83,7 +83,7 @@ RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf
'gettext' 'gettext'
] %} ] %}
RUN {{ macros.install_packages(horizon_packages | customizable("packages")) }} {{ macros.install_packages(horizon_packages | customizable("packages")) }}
{% block horizon_ubuntu_source_setup %} {% block horizon_ubuntu_source_setup %}
RUN echo > /etc/apache2/ports.conf \ RUN echo > /etc/apache2/ports.conf \

View File

@ -3,7 +3,7 @@ MAINTAINER {{ maintainer }}
{% import "macros.j2" as macros with context %} {% import "macros.j2" as macros with context %}
{% set influxdb_packages = ['influxdb'] %} {% set influxdb_packages = ['influxdb'] %}
RUN {{ macros.install_packages(influxdb_packages | customizable("packages")) }} {{ macros.install_packages(influxdb_packages | customizable("packages")) }}
COPY influxdb_sudoers /etc/sudoers.d/kolla_influxdb_sudoers COPY influxdb_sudoers /etc/sudoers.d/kolla_influxdb_sudoers
RUN chmod 750 /etc/sudoers.d \ RUN chmod 750 /etc/sudoers.d \

View File

@ -19,7 +19,7 @@ MAINTAINER {{ maintainer }}
{% endif %} {% endif %}
RUN {{ macros.install_packages(iscsid_packages | customizable("packages")) }} {{ macros.install_packages(iscsid_packages | customizable("packages")) }}
COPY extend_start.sh /usr/local/bin/kolla_extend_start COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start \ RUN chmod 755 /usr/local/bin/kolla_extend_start \

View File

@ -14,7 +14,7 @@ MAINTAINER {{ maintainer }}
'socat' 'socat'
] %} ] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(keepalived_packages | customizable("packages")) }} {{ macros.install_packages(keepalived_packages | customizable("packages")) }}
COPY check_alive.sh / COPY check_alive.sh /

View File

@ -13,7 +13,7 @@ MAINTAINER {{ maintainer }}
'python-ldappool' 'python-ldappool'
] %} ] %}
RUN {{ macros.install_packages(keystone_packages | customizable("packages")) }} {{ macros.install_packages(keystone_packages | customizable("packages")) }}
RUN mkdir -p /var/www/cgi-bin/keystone \ RUN mkdir -p /var/www/cgi-bin/keystone \
&& cp -a /usr/share/keystone/keystone.wsgi /var/www/cgi-bin/keystone/main \ && cp -a /usr/share/keystone/keystone.wsgi /var/www/cgi-bin/keystone/main \
&& cp -a /usr/share/keystone/keystone.wsgi /var/www/cgi-bin/keystone/admin \ && cp -a /usr/share/keystone/keystone.wsgi /var/www/cgi-bin/keystone/admin \
@ -28,7 +28,7 @@ RUN mkdir -p /var/www/cgi-bin/keystone \
'python-ldappool' 'python-ldappool'
] %} ] %}
RUN {{ macros.install_packages(keystone_packages | customizable("packages")) }} {{ macros.install_packages(keystone_packages | customizable("packages")) }}
RUN mkdir -p /var/www/cgi-bin/keystone \ RUN mkdir -p /var/www/cgi-bin/keystone \
&& cp -a /usr/share/keystone/wsgi.py /var/www/cgi-bin/keystone/main \ && cp -a /usr/share/keystone/wsgi.py /var/www/cgi-bin/keystone/main \
&& cp -a /usr/share/keystone/wsgi.py /var/www/cgi-bin/keystone/admin \ && cp -a /usr/share/keystone/wsgi.py /var/www/cgi-bin/keystone/admin \
@ -43,7 +43,7 @@ RUN mkdir -p /var/www/cgi-bin/keystone \
'mod_wsgi', 'mod_wsgi',
'python-ldappool' 'python-ldappool'
] %} ] %}
RUN {{ macros.install_packages(keystone_packages | customizable("packages")) }} {{ macros.install_packages(keystone_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
{% elif base_distro in ['ubuntu', 'debian'] %} {% elif base_distro in ['ubuntu', 'debian'] %}
@ -53,7 +53,7 @@ RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf
'libapache2-mod-wsgi', 'libapache2-mod-wsgi',
'python-ldappool' 'python-ldappool'
] %} ] %}
RUN {{ macros.install_packages(keystone_packages | customizable("packages")) }} {{ macros.install_packages(keystone_packages | customizable("packages")) }}
RUN echo > /etc/apache2/ports.conf RUN echo > /etc/apache2/ports.conf
{% endif %} {% endif %}

View File

@ -42,7 +42,7 @@ MAINTAINER {{ maintainer }}
{% endif %} {% endif %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(kolla_toolbox_packages | customizable("packages")) }} {{ macros.install_packages(kolla_toolbox_packages | customizable("packages")) }}
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
&& python get-pip.py \ && python get-pip.py \

View File

@ -1,12 +1,14 @@
{% macro install_packages(packages) -%} {% macro install_packages(packages) -%}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] -%} {% if packages is defined and packages|length > 0 -%}
yum -y install {{ packages | join(' ') }} && yum clean all {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] -%}
{%- elif base_distro in ['ubuntu', 'debian'] -%} RUN yum -y install {{ packages | join(' ') }} && yum clean all
{#- {%- elif base_distro in ['ubuntu', 'debian'] -%}
debian_package_install is a utility method to build up an appropriate {#-
set of commands to install packages in a debian-based environment that debian_package_install is a utility method to build up an appropriate
may include URL links to a .deb package (e.g, heka) set of commands to install packages in a debian-based environment that
-#} may include URL links to a .deb package (e.g, heka)
{{ debian_package_install(packages) }} -#}
RUN {{ debian_package_install(packages) }}
{%- endif %}
{%- endif %} {%- endif %}
{%- endmacro %} {%- endmacro %}

View File

@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set magnum_api_packages = ['magnum-api'] %} {% set magnum_api_packages = ['magnum-api'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(magnum_api_packages | customizable("packages")) }} {{ macros.install_packages(magnum_api_packages | customizable("packages")) }}
{% endif %} {% endif %}
COPY extend_start.sh /usr/local/bin/kolla_magnum_extend_start COPY extend_start.sh /usr/local/bin/kolla_magnum_extend_start

View File

@ -10,7 +10,7 @@ RUN curl -L https://trunk.rdoproject.org/centos7/current/delorean.repo -o /etc/y
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set magnum_base_packages = ['magnum-common'] %} {% set magnum_base_packages = ['magnum-common'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(magnum_base_packages | customizable("packages")) }} {{ macros.install_packages(magnum_base_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}

View File

@ -14,7 +14,7 @@ MAINTAINER {{ maintainer }}
] %} ] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(magnum_conductor_packages | customizable("packages")) }} {{ macros.install_packages(magnum_conductor_packages | customizable("packages")) }}
# Install kubectl binary # Install kubectl binary
RUN curl -Lo /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.2.0/bin/linux/amd64/kubectl \ RUN curl -Lo /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.2.0/bin/linux/amd64/kubectl \

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
'manila-api' 'manila-api'
] %} ] %}
RUN {{ macros.install_packages(manila_api_packages | customizable("packages")) }} {{ macros.install_packages(manila_api_packages | customizable("packages")) }}
{% endif%} {% endif%}
{% endif%} {% endif%}

View File

@ -20,7 +20,7 @@ MAINTAINER {{ maintainer }}
{% endif %} {% endif %}
RUN {{ macros.install_packages(manila_base_packages | customizable("packages")) }} {{ macros.install_packages(manila_base_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
@ -33,7 +33,7 @@ RUN {{ macros.install_packages(manila_base_packages | customizable("packages"))
{% endif %} {% endif %}
RUN {{ macros.install_packages(manila_base_packages | customizable("packages")) }} {{ macros.install_packages(manila_base_packages | customizable("packages")) }}
ADD manila-base-archive /manila-base-source ADD manila-base-archive /manila-base-source
RUN ln -s manila-base-source/* manila \ RUN ln -s manila-base-source/* manila \

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
'manila-scheduler' 'manila-scheduler'
] %} ] %}
RUN {{ macros.install_packages(manila_scheduler_packages | customizable("packages")) }} {{ macros.install_packages(manila_scheduler_packages | customizable("packages")) }}
{% endif%} {% endif%}
{% endif%} {% endif%}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
'openstack-manila-share' 'openstack-manila-share'
] %} ] %}
RUN {{ macros.install_packages(manila_share_packages | customizable("packages")) }} {{ macros.install_packages(manila_share_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -7,14 +7,14 @@ MAINTAINER {{ maintainer }}
{% set user = 'memcached' %} {% set user = 'memcached' %}
{% set memcached_packages = ['memcached'] %} {% set memcached_packages = ['memcached'] %}
RUN {{ macros.install_packages(memcached_packages | customizable("packages")) }} \ {{ macros.install_packages(memcached_packages | customizable("packages")) }} \
&& usermod -a -G kolla {{ user }} && usermod -a -G kolla {{ user }}
{% elif base_distro in ['ubuntu', 'debian'] %} {% elif base_distro in ['ubuntu', 'debian'] %}
{% set user = 'memcache' %} {% set user = 'memcache' %}
{% set memcached_packages = ['memcached'] %} {% set memcached_packages = ['memcached'] %}
RUN {{ macros.install_packages(memcached_packages | customizable("packages")) }} \ {{ macros.install_packages(memcached_packages | customizable("packages")) }} \
&& usermod -a -G kolla {{ user }} && usermod -a -G kolla {{ user }}
{% endif %} {% endif %}

View File

@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set mistral_api_packages = ['mistral-api'] %} {% set mistral_api_packages = ['mistral-api'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(mistral_api_packages | customizable("packages")) }} {{ macros.install_packages(mistral_api_packages | customizable("packages")) }}
{% endif %} {% endif %}
COPY extend_start.sh /usr/local/bin/kolla_mistral_extend_start COPY extend_start.sh /usr/local/bin/kolla_mistral_extend_start

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set mistral_base_packages = ['mistral-common'] %} {% set mistral_base_packages = ['mistral-common'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(mistral_base_packages | customizable("packages")) }} {{ macros.install_packages(mistral_base_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}

View File

@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set mistral_engine_packages = ['mistral-engine'] %} {% set mistral_engine_packages = ['mistral-engine'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(mistral_engine_packages | customizable("packages")) }} {{ macros.install_packages(mistral_engine_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% block mistral_engine_footer %}{% endblock %} {% block mistral_engine_footer %}{% endblock %}

View File

@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set mistral_executor_packages = ['mistral-executor'] %} {% set mistral_executor_packages = ['mistral-executor'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(mistral_executor_packages | customizable("packages")) }} {{ macros.install_packages(mistral_executor_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% block mistral_executor_footer %}{% endblock %} {% block mistral_executor_footer %}{% endblock %}

View File

@ -14,7 +14,7 @@ MAINTAINER {{ maintainer }}
] %} ] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(mongodb_packages | customizable("packages")) }} {{ macros.install_packages(mongodb_packages | customizable("packages")) }}
RUN mkdir -p /var/lib/mongodb /home/mongodb \ RUN mkdir -p /var/lib/mongodb /home/mongodb \
&& chown -R mongodb: /var/lib/mongodb /home/mongodb && chown -R mongodb: /var/lib/mongodb /home/mongodb

View File

@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
{% set multipathd_packages = ['multipath-tools'] %} {% set multipathd_packages = ['multipath-tools'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(multipathd_packages | customizable("packages")) }} {{ macros.install_packages(multipathd_packages | customizable("packages")) }}
{% block multipathd_footer %}{% endblock %} {% block multipathd_footer %}{% endblock %}
{% block footer %}{% endblock %} {% block footer %}{% endblock %}

View File

@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
{% set murano_api_packages = ['murano-api'] %} {% set murano_api_packages = ['murano-api'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(murano_api_packages | customizable("packages")) }} {{ macros.install_packages(murano_api_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -11,7 +11,7 @@ MAINTAINER {{ maintainer }}
{% set murano_base_packages = ['murano-common'] %} {% set murano_base_packages = ['murano-common'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(murano_base_packages | customizable("packages")) }} {{ macros.install_packages(murano_base_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% set murano_engine_packages = ['murano-engine'] %} {% set murano_engine_packages = ['murano-engine'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(murano_engine_packages | customizable("packages")) }} {{ macros.install_packages(murano_engine_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% set neutron_metering_agent_packages = ['neutron-metering-agent'] %} {% set neutron_metering_agent_packages = ['neutron-metering-agent'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(neutron_metering_agent_packages | customizable("packages")) }} {{ macros.install_packages(neutron_metering_agent_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
'openssl' 'openssl'
] %} ] %}
RUN {{ macros.install_packages(openstack_base_packages) }} {{ macros.install_packages(openstack_base_packages) }}
{% endif %} {% endif %}
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
@ -185,7 +185,7 @@ ENV DEBIAN_FRONTEND noninteractive
] %} ] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(openstack_base_packages | customizable("packages")) }} {{ macros.install_packages(openstack_base_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %} {% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
@ -221,7 +221,7 @@ RUN {{ macros.install_packages(openstack_base_packages | customizable("packages"
] %} ] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(openstack_base_packages | customizable("packages")) }} {{ macros.install_packages(openstack_base_packages | customizable("packages")) }}
ADD openstack-base-archive /openstack-base-source ADD openstack-base-archive /openstack-base-source
RUN ln -s openstack-base-source/* /requirements \ RUN ln -s openstack-base-source/* /requirements \
&& mkdir -p /var/lib/kolla \ && mkdir -p /var/lib/kolla \

View File

@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
{% set openvswitch_base_packages = ['openvswitch-switch'] %} {% set openvswitch_base_packages = ['openvswitch-switch'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(openvswitch_base_packages | customizable("packages")) }} {{ macros.install_packages(openvswitch_base_packages | customizable("packages")) }}
COPY extend_start.sh /usr/local/bin/kolla_extend_start COPY extend_start.sh /usr/local/bin/kolla_extend_start

View File

@ -12,7 +12,7 @@ RUN useradd --user-group rally
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set rally_packages = ['rally'] %} {% set rally_packages = ['rally'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(rally_packages | customizable("packages")) }} {{ macros.install_packages(rally_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
ADD rally-archive /rally-source ADD rally-archive /rally-source

View File

@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set sahara_api_packages = ['sahara-api'] %} {% set sahara_api_packages = ['sahara-api'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(sahara_api_packages | customizable("packages")) }} {{ macros.install_packages(sahara_api_packages | customizable("packages")) }}
{% endif %} {% endif %}
COPY extend_start.sh /usr/local/bin/kolla_extend_start COPY extend_start.sh /usr/local/bin/kolla_extend_start

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set sahara_base_packages = ['sahara-common'] %} {% set sahara_base_packages = ['sahara-common'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(sahara_base_packages | customizable("packages")) }} {{ macros.install_packages(sahara_base_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}

View File

@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set sahara_engine_packages = ['sahara-engine'] %} {% set sahara_engine_packages = ['sahara-engine'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(sahara_engine_packages | customizable("packages")) }} {{ macros.install_packages(sahara_engine_packages | customizable("packages")) }}
{% endif %} {% endif %}
{% block sahara_engine_footer %}{% endblock %} {% block sahara_engine_footer %}{% endblock %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% set swift_acount_packages = ['swift-account'] %} {% set swift_acount_packages = ['swift-account'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(swift_acount_packages | customizable("packages")) }} {{ macros.install_packages(swift_acount_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% set swift_base_packages = ['swift'] %} {% set swift_base_packages = ['swift'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(swift_base_packages | customizable("packages")) }} {{ macros.install_packages(swift_base_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
@ -19,7 +19,7 @@ RUN {{ macros.install_packages(swift_base_packages | customizable("packages")) }
{% set swift_base_packages = ['liberasurecode-dev'] %} {% set swift_base_packages = ['liberasurecode-dev'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(swift_base_packages | customizable("packages")) }} {{ macros.install_packages(swift_base_packages | customizable("packages")) }}
ADD swift-base-archive /swift-base-source ADD swift-base-archive /swift-base-source
RUN ln -s swift-base-source/* swift \ RUN ln -s swift-base-source/* swift \
&& useradd --user-group swift \ && useradd --user-group swift \

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% set swift_container_packages = ['swift-container'] %} {% set swift_container_packages = ['swift-container'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(swift_container_packages | customizable("packages")) }} {{ macros.install_packages(swift_container_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% set swift_object_packages = ['swift-object'] %} {% set swift_object_packages = ['swift-object'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(swift_object_packages | customizable("packages")) }} {{ macros.install_packages(swift_object_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% set swift_proxy_server_packages = ['swift-proxy'] %} {% set swift_proxy_server_packages = ['swift-proxy'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(swift_proxy_server_packages | customizable("packages")) }} {{ macros.install_packages(swift_proxy_server_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
{% set swift_rsyncd_packages = ['rsync'] %} {% set swift_rsyncd_packages = ['rsync'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(swift_rsyncd_packages | customizable("packages")) }} {{ macros.install_packages(swift_rsyncd_packages | customizable("packages")) }}
COPY extend_start.sh /usr/local/bin/kolla_extend_start COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start RUN chmod 755 /usr/local/bin/kolla_extend_start

View File

@ -3,7 +3,7 @@ MAINTAINER {{ maintainer }}
{% import "macros.j2" as macros with context %} {% import "macros.j2" as macros with context %}
{% set telegraf_packages = ['telegraf'] %} {% set telegraf_packages = ['telegraf'] %}
RUN {{ macros.install_packages(telegraf_packages | customizable("packages")) }} {{ macros.install_packages(telegraf_packages | customizable("packages")) }}
COPY telegraf_sudoers /etc/sudoers.d/kolla_telegraf_sudoers COPY telegraf_sudoers /etc/sudoers.d/kolla_telegraf_sudoers
RUN chmod 750 /etc/sudoers.d \ RUN chmod 750 /etc/sudoers.d \

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% set tempest_packages = ['tempest'] %} {% set tempest_packages = ['tempest'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(tempest_packages | customizable("packages")) }} {{ macros.install_packages(tempest_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}

View File

@ -6,13 +6,13 @@ MAINTAINER {{ maintainer }}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
{% set tgtd_packages = ['scsi-target-utils'] %} {% set tgtd_packages = ['scsi-target-utils'] %}
RUN {{ macros.install_packages(tgtd_packages | customizable("packages")) }} {{ macros.install_packages(tgtd_packages | customizable("packages")) }}
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
{% elif base_distro in ['ubuntu', 'debian'] %} {% elif base_distro in ['ubuntu', 'debian'] %}
{% set tgtd_packages = ['tgt'] %} {% set tgtd_packages = ['tgt'] %}
RUN {{ macros.install_packages(tgtd_packages | customizable("packages")) }} {{ macros.install_packages(tgtd_packages | customizable("packages")) }}
RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/targets.conf RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/targets.conf
{% endif %} {% endif %}

View File

@ -9,7 +9,7 @@ MAINTAINER {{ maintainer }}
{% set trove_api_packages = ['trove-api'] %} {% set trove_api_packages = ['trove-api'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(trove_api_packages | customizable("packages")) }} {{ macros.install_packages(trove_api_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -11,7 +11,7 @@ MAINTAINER {{ maintainer }}
{% set trove_base_packages = ['trove-common'] %} {% set trove_base_packages = ['trove-common'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(trove_base_packages | customizable("packages")) }} {{ macros.install_packages(trove_base_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% set trove_conductor_packages = ['trove-conductor'] %} {% set trove_conductor_packages = ['trove-conductor'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(trove_conductor_packages | customizable("packages")) }} {{ macros.install_packages(trove_conductor_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% set trove_guestagent_packages = ['trove-guestagent'] %} {% set trove_guestagent_packages = ['trove-guestagent'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(trove_guestagent_packages | customizable("packages")) }} {{ macros.install_packages(trove_guestagent_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -10,7 +10,7 @@ MAINTAINER {{ maintainer }}
{% set trove_taskmanager_packages = ['trove-taskmanager'] %} {% set trove_taskmanager_packages = ['trove-taskmanager'] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(trove_taskmanager_packages | customizable("packages")) }} {{ macros.install_packages(trove_taskmanager_packages | customizable("packages")) }}
{% endif %} {% endif %}

View File

@ -13,7 +13,7 @@ MAINTAINER {{ maintainer }}
'zaqar-server' 'zaqar-server'
] %} ] %}
{% endif %} {% endif %}
RUN {{ macros.install_packages(zaqar_packages | customizable("packages")) }} {{ macros.install_packages(zaqar_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}