Designate ubuntu binary container

Change-Id: I546d25249527d7f1f7dfa2059ae38e7cc0e0a765
Partially-Implements: blueprint binary-ubuntu
This commit is contained in:
MD NADEEM 2016-02-05 15:59:48 +05:30 committed by MD NADEEM
parent 29833b67e1
commit 79b9e0d302
7 changed files with 46 additions and 2 deletions

View File

@ -5,9 +5,15 @@ MAINTAINER {{ maintainer }}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum install -y \
openstack-designate-api \
openstack-designate-api \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
designate-api \
&& apt-get clean
{% endif %}
{% endif %}

View File

@ -9,6 +9,12 @@ RUN yum install -y bind \
&& mkdir -p /var/lib/kolla/ \
&& cp -pr /var/named /var/lib/kolla/var-named
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
bind9 \
&& apt-get clean
{% endif %}
{% endif %}

View File

@ -9,7 +9,6 @@ MAINTAINER {{ maintainer }}
# need the complete policy file because of some of the containers'
# requiring it. Remove the package when the file is moved though.
RUN yum install -y \
openstack-designate-api \
openstack-designate-common \
python-tooz \
&& yum clean all \
@ -17,6 +16,13 @@ RUN yum install -y \
&& rpm -e openstack-designate-api \
&& mv /tmp/policy.json /etc/designate/
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
designate-common \
python-tooz \
&& apt-get clean
{% endif %}
{% elif install_type == 'source' %}

View File

@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
RUN yum install -y openstack-designate-central \
&& yum clean all
{% elif base_distro in ['ubuntu']%}
RUN apt-get install -y --no-install-recommends \
designate-central \
&& apt-get clean
{% endif %}
{% endif %}

View File

@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
RUN yum install -y openstack-designate-mdns \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
designate-mdns \
&& apt-get clean
{% endif %}
{% endif %}

View File

@ -10,6 +10,13 @@ RUN yum install -y \
bind \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
designate-pool-manager \
bind9 \
&& apt-get clean
{% endif %}
{% endif %}

View File

@ -9,6 +9,13 @@ RUN yum install -y \
python-designateclient \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y -no-install-recommends \
designate-sink \
designateclient \
&& apt-get clean
{% endif %}
{% endif %}