diff --git a/rabbitmq/package/install.sls b/rabbitmq/package/install.sls index 6574aa48..392bb6f0 100644 --- a/rabbitmq/package/install.sls +++ b/rabbitmq/package/install.sls @@ -39,3 +39,11 @@ rabbitmq-package-install-pkg-binary-plugins: - onlyif: test -f {{ rabbitmq.dir.base }}/bin/rabbitmq-plugins - require: - pkg: rabbitmq-package-install-pkg-installed + +rabbitmq-package-remove-old-erlang-repo: + pkgrepo.absent: + - name: deb https://dl.bintray.com/rabbitmq-erlang/debian {{ salt['grains.get']('oscodename') }} erlang + +rabbitmq-package-remove-old-rabbitmq-repo: + pkgrepo.absent: + - name: deb https://dl.bintray.com/rabbitmq/debian {{ salt['grains.get']('oscodename') }} main