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: Install procps, for pgrep.

Alex Vandiverddb9d16132a6
diff --git a/puppet/zulip/manifests/profile/base.pp b/puppet/zulip/manifests/profile/base.pp
index adbc5e4c3ad..f69a72766c9 100644
--- a/puppet/zulip/manifests/profile/base.pp
+++ b/puppet/zulip/manifests/profile/base.pp
@@ -45,6 +45,7 @@ class zulip::profile::base {
'curl',
'wget',
'jq',
+ 'procps',
# Used to read /etc/zulip/zulip.conf for `zulipconf` Puppet function
'crudini',
# Accurate time is essential
diff --git a/puppet/zulip/manifests/profile/rabbitmq.pp b/puppet/zulip/manifests/profile/rabbitmq.pp
index 83eb547d754..f78c9559ba9 100644
--- a/puppet/zulip/manifests/profile/rabbitmq.pp
+++ b/puppet/zulip/manifests/profile/rabbitmq.pp
@@ -59,7 +59,7 @@ class zulip::profile::rabbitmq {
# running and exits if so.
exec { 'epmd':
command => 'epmd -daemon',
- unless => 'pgrep -f [e]pmd >/dev/null',
+ unless => 'which pgrep && pgrep -f [e]pmd >/dev/null',
require => Package[$erlang],
path => '/usr/bin/:/bin/',
}