Merge "Designate ubuntu binary container"
This commit is contained in:
commit
9376751d39
@ -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 %}
|
||||
|
||||
|
@ -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 %}
|
||||
|
||||
|
@ -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' %}
|
||||
|
||||
|
@ -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 %}
|
||||
|
||||
|
@ -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 %}
|
||||
|
||||
|
@ -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 %}
|
||||
|
||||
|
@ -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 %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user