puppetmodules/puppet-module-monit — pull request #46 by VRGhost (2014-04-03 17:53:22+00:00)
Title: Adding 'uid' and 'gid' specifiers to the "stop program" clause

Hello,

This is a little change that simply adds 'uid' and 'gid' specifiers to the "stop program" clause.

Reason is that some programs that are running under restricted user do expect to be stopped under the user they were spawned with (e.g. they try to access their config file in the users' HOME).

If one does not specify the "as" clauses for the "stop program" command, than Monit will execute stop command as current user Monit is running under.

Cheers.