Merge "Ubuntu - Keepalived"

This commit is contained in:
Jenkins 2015-08-23 06:03:15 +00:00 committed by Gerrit Code Review
commit b6c0be9a70
2 changed files with 4 additions and 3 deletions
docker/common/keepalived
docker_templates/keepalived

@ -4,7 +4,6 @@ TARGET="/etc/keepalived/keepalived.conf"
OWNER="root"
if [[ -f "$SOURCE" ]]; then
rm $TARGET
cp $SOURCE $TARGET
chown ${OWNER}: $TARGET
chmod 0644 $TARGET

@ -11,8 +11,10 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
RUN apt-get install -y --no-install-recommends \
keepalived \
socat \
&& apt-get clean
{% endif %}