Set rabbitmq package_provider to yum
authorJames Slagle <jslagle@redhat.com>
Thu, 15 Dec 2016 19:03:39 +0000 (14:03 -0500)
committerJames Slagle <jslagle@redhat.com>
Wed, 4 Jan 2017 19:22:07 +0000 (14:22 -0500)
When deploying with EnablePackageInstall:True, the rabbitmq puppet
module defaults to the rpm package provider, which then tries to "rpm -i
undef" since we are setting rabbitmq::package_source to undef. Instead
of using the rpm provider at all, we should just use the yum provider to
install whatever rabbitmq rpm's are found in enabled repos.

Change-Id: I29365e675bfde676fde7a54dfc6c660c3970f50a
Partially-implements: blueprint split-stack-software-configuration

puppet/services/rabbitmq.yaml

index a32dec1..5526a6f 100644 (file)
@@ -69,6 +69,7 @@ outputs:
         rabbitmq::delete_guest_user: false
         rabbitmq::wipe_db_on_cookie_change: true
         rabbitmq::port: '5672'
+        rabbitmq::package_provider: yum
         rabbitmq::package_source: undef
         rabbitmq::repos_ensure: false
         rabbitmq::tcp_keepalive: true