Ubuntu - Keepalived

Change-Id: I7e96da95eb8720e3cad0776743cab3d523674f0f
Partially-Implements: blueprint install-from-ubuntu
This commit is contained in:
Sam Yaple 2015-08-22 14:23:44 +00:00
parent f70e8d4598
commit 3fe9b78216
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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 %}