Ubuntu - Haproxy

Change-Id: I847eecedd7e6526983d604d2bd95f613e58fffb2
Paritally-Implements: blueprint install-from-ubuntu
This commit is contained in:
Sam Yaple 2015-08-22 14:20:40 +00:00
parent f70e8d4598
commit 53b2977da3

View File

@ -7,10 +7,15 @@ RUN yum -y install \
haproxy \
&& yum clean all
{% elif base_distro in ['ubuntu', 'debian'] %}
{% elif base_distro == 'ubuntu' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
RUN apt-get install -y --no-install-recommends -t trusty-backports haproxy \
&& apt-get clean
{% elif base_distro == 'debian' %}
RUN apt-get install -y --no-install-recommends haproxy \
&& apt-get clean
{% endif %}