meltwater/puppet-es — pull request #6 by jmswick (2014-08-15 21:59:08+00:00)
Title: Match a space after the ES path for when you have instances with similar names

This recently came up on one node that's configured for two ES instances.

Eg: instance and instance-master

The default pgrep was matching both instances as the .* was matching the path for both instances. Adding a space in the pgrep before the any character match resolves the issue.