puppetlabs/puppet-dashboard — pull request #248 by kerolasa (2013-09-11 19:49:34+00:00)
Title: ext/redhat/puppet-dashboard-workers.init: make one worker status work

Make '/etc/init.d/puppet-dashboard-workers status' work in RedHat
environment when there is only one dashboard worker. The exact issue
is that pid files are numbered when there are multiple of them, but
single worker pid file has no number in it's name.

The fix is similar to Bruno Leon's debian fix from commit in reference.

References: b44806771c527c9faa36fc8f3968b5996adb87e2
Signed-off-by: Sami Kerola