#!/bin/bash -eux

PACKAGES="
wget
"
# Install corosync with pacemaker
apt-get -y install $PACKAGES

ver=3.6.15
file="rabbitmq-server_${ver}-1_all.deb"
wget "http://www.rabbitmq.com/releases/rabbitmq-server/v${ver}/${file}" -O "/tmp/${file}"
dpkg -i "/tmp/${file}"

# stop and disable rabbitmq-server, assumes puppet CM installed
puppet apply -e "service {'rabbitmq-server': ensure=>stopped, enable=>false }"
sync

#!/bin/bash -eux

PACKAGES="
wget
logrotate
"
# Install corosync with pacemaker
apt-get -y install $PACKAGES

ver=3.6.15
file="rabbitmq-server_${ver}-1_all.deb"
wget "http://www.rabbitmq.com/releases/rabbitmq-server/v${ver}/${file}" -O "/tmp/${file}"
dpkg -i "/tmp/${file}"

# stop and disable rabbitmq-server, assumes puppet CM installed
puppet apply -e "service {'rabbitmq-server': ensure=>stopped, enable=>false }"
sync

Add missing logrotate dep for newest rabbit
Add missing logrotate dep for newest rabbit

Signed-off-by: Bogdan Dobrelya <62b3a3e71fe69d786a0eb2bf561b6ce08e31d2cc@mail.ru>
