opscode-cookbooks/rabbitmq — pull request #114 by rosenfeld (2014-05-08 12:18:15+00:00)
Title: Avoid breaking this recipe on apt-get upgrade

By default use_distro_version is false. If you manually upgrade your servers (and you probably should to keep it up-to-date) rabbitmq-server would be upgraded (this is the case with Ubuntu 14.04 for instance) and often the downgrade is not possible so the recipe would fail to run after an upgrade until you do something like `dpkg --purge rabbitmq-server`.

When we install an specific package version we should also put it on hold to prevent `apt-get upgrade` to upgrade that particular package:

See "How do I put a package on hold" here: https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html

Or other ways here: http://askubuntu.com/questions/18654/how-to-prevent-updating-of-a-specific-package