Fix init script for EL based PE installations
Fix init script for EL based PE installations

Previously, we were grepping on username in the find_my_pid function of
the init script.  This was fine if the username was <= 8 characters, but
since pe-puppetdb is not, 'ps -ef' would fall back to using UID in the
processes table, thus causing the function to fail.  This in turn led to
empty pid files and puppetdb potentially starting lots of times.

We now grep the jarfile name rather than user to confine the process
listing.

Signed-off-by: Michael Stahnke <2a182c1e36ed712e31cb9cec0d63e3146905df9c@puppetlabs.com>

mullr/puppetdb,rbrw/puppetdb,ajroetker/puppetdb,waynr/puppetdb,cprice404/puppetdb,senior/puppetdb,mullr/puppetdb,github/puppetlabs-puppetdb,rbrw/puppetdb,senior/puppetdb,github/puppetlabs-puppetdb,johnduarte/puppetdb,jantman/puppetdb,grimradical/puppetdb,waynr/puppetdb,github/puppetlabs-puppetdb,senior/puppetdb,ajroetker/puppetdb,johnduarte/puppetdb,kbarber/puppetdb,grimradical/puppetdb,cprice404/puppetdb,highb/puppetdb,grimradical/puppetdb,wkalt/puppetdb,ajroetker/puppetdb,kbrezina/puppetdb,puppetlabs/puppetdb,melissa/puppetdb,puppetlabs/puppetdb,wkalt/puppetdb,puppetlabs/puppetdb,kbarber/puppetdb,wkalt/puppetdb,rbrw/puppetdb,melissa/puppetdb,grimradical/puppetdb,highb/puppetdb,shrug/puppetdb,kbrezina/puppetdb,melissa/puppetdb,shrug/puppetdb,puppetlabs/puppetdb,nfagerlund/puppetdb,senior/puppetdb,rbrw/puppetdb,mullr/puppetdb,nfagerlund/puppetdb,shrug/puppetdb,johnduarte/puppetdb,puppetlabs/puppetdb,kbarber/puppetdb,kbarber/puppetdb,highb/puppetdb,shrug/puppetdb,nfagerlund/puppetdb,kbrezina/puppetdb,waynr/puppetdb,mullr/puppetdb,jantman/puppetdb,jantman/puppetdb,johnduarte/puppetdb,wkalt/puppetdb,mullr/puppetdb,cprice404/puppetdb,waynr/puppetdb,ajroetker/puppetdb,kbrezina/puppetdb,highb/puppetdb,rbrw/puppetdb