Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Rename zulip::profile::rabbit to ::rabbitmq.

Alex Vandiver5365af544ac2
diff --git a/puppet/zulip/manifests/profile/rabbit.pp b/puppet/zulip/manifests/profile/rabbitmq.pp
similarity index 89%
rename from puppet/zulip/manifests/profile/rabbit.pp
rename to puppet/zulip/manifests/profile/rabbitmq.pp
index c0a0477ff30..e1af4041958 100644
--- a/puppet/zulip/manifests/profile/rabbit.pp
+++ b/puppet/zulip/manifests/profile/rabbitmq.pp
@@ -1,14 +1,14 @@
-class zulip::profile::rabbit {
+class zulip::profile::rabbitmq {
include zulip::profile::base
$erlang = $::osfamily ? {
'debian' => 'erlang-base',
'redhat' => 'erlang',
}
- $rabbit_packages = [# Needed to run RabbitMQ
- $erlang,
- 'rabbitmq-server',
- ]
- package { $rabbit_packages: ensure => 'installed' }
+ $rabbitmq_packages = [
+ $erlang,
+ 'rabbitmq-server',
+ ]
+ package { $rabbitmq_packages: ensure => 'installed' }
# Removed 2020-09 in version 4.0; these lines can be removed in
# Zulip version 5.0 and later.
diff --git a/puppet/zulip/manifests/profile/standalone.pp b/puppet/zulip/manifests/profile/standalone.pp
index 943f56106cf..eaf17f4d319 100644
--- a/puppet/zulip/manifests/profile/standalone.pp
+++ b/puppet/zulip/manifests/profile/standalone.pp
@@ -12,7 +12,7 @@ class zulip::profile::standalone {
include zulip::profile::postgresql
include zulip::profile::redis
include zulip::profile::memcached
- include zulip::profile::rabbit
+ include zulip::profile::rabbitmq
if $::osfamily == debian {
# camo is only required on Debian-based systems as part of
# our migration towards not including camo at all.
diff --git a/puppet/zulip/manifests/rabbit.pp b/puppet/zulip/manifests/rabbit.pp
index 972f2574c5f..31917a3f2c0 100644
--- a/puppet/zulip/manifests/rabbit.pp
+++ b/puppet/zulip/manifests/rabbit.pp
@@ -1,4 +1,4 @@
# @summary Temporary shim for puppet profile
class zulip::rabbit {
- include zulip::profile::rabbit
+ include zulip::profile::rabbitmq
}
diff --git a/puppet/zulip_ops/manifests/app_frontend.pp b/puppet/zulip_ops/manifests/app_frontend.pp
index f551a426dd8..0fea40180b3 100644
--- a/puppet/zulip_ops/manifests/app_frontend.pp
+++ b/puppet/zulip_ops/manifests/app_frontend.pp
@@ -1,7 +1,7 @@
class zulip_ops::app_frontend {
include zulip::app_frontend_base
include zulip::profile::memcached
- include zulip::profile::rabbit
+ include zulip::profile::rabbitmq
include zulip::postfix_localmail
include zulip::static_asset_compiler
include zulip_ops::app_frontend_monitoring
diff --git a/scripts/lib/install b/scripts/lib/install
index 52a964533fe..7162007a518 100755
--- a/scripts/lib/install
+++ b/scripts/lib/install
@@ -480,7 +480,7 @@ EOF
fi
fi
-if has_class "zulip::profile::rabbit"; then
+if has_class "zulip::profile::rabbitmq"; then
if ! rabbitmqctl status >/dev/null; then
set +x
cat <<EOF