rabbitmq_upgrade_check: Do not complain for upgrades on distro packages

Distributions normally provide one version of rabbitmq. Comparing this
version against the one provided by packagecloud makes little sense
unless the user explicitly requested to install the package from an
external source. As such, we should not complain when distribution
packages are used.

Change-Id: If56873908776ce7a6908f6c4d4aef096d084859f
This commit is contained in:
Markos Chandras 2018-09-26 14:10:41 +01:00
parent ff6f7c8e01
commit 75ba65c100
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@
- not rabbitmq_upgrade | bool
- installed_rabbitmq.rc == 0
- not installed_rabbitmq.stdout | search(rabbitmq_package_version)
- rabbitmq_install_method != 'distro'
tags:
- rabbitmq-package-deb
- rabbitmq-package-rpm