From 1b02fb6d6d42d0cf2088e73c96a698cf0dd9b0ae Mon Sep 17 00:00:00 2001 From: rht Date: Wed, 19 Dec 2018 22:29:27 +0000 Subject: [PATCH] puppet: Add CentOS packages to rabbit.pp. --- puppet/zulip/manifests/rabbit.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/puppet/zulip/manifests/rabbit.pp b/puppet/zulip/manifests/rabbit.pp index a4b081b607..124943cca6 100644 --- a/puppet/zulip/manifests/rabbit.pp +++ b/puppet/zulip/manifests/rabbit.pp @@ -1,6 +1,10 @@ class zulip::rabbit { + $erlang = $::osfamily ? { + 'debian' => 'erlang-base', + 'redhat' => 'erlang', + } $rabbit_packages = [# Needed to run rabbitmq - 'erlang-base', + $erlang, 'rabbitmq-server', ] package { $rabbit_packages: ensure => 'installed' }