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: `pgrep -f something` can match itself.

Alex Vandiver3577c6dbd4f1
diff --git a/puppet/zulip/manifests/profile/rabbitmq.pp b/puppet/zulip/manifests/profile/rabbitmq.pp
index e1af4041958..83eb547d754 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 epmd >/dev/null',
+ unless => 'pgrep -f [e]pmd >/dev/null',
require => Package[$erlang],
path => '/usr/bin/:/bin/',
}