newrelic-platform/newrelic_plugins_puppet — pull request #24 by intjonathan (2014-05-02 21:51:59+00:00)
Title: Don't use sudo in service management script

If you force TTY for sudo, Puppet can't manage services with it, and the upshot is a bunch of "you must have a TTY to run sudo" in your daemon.log, and the service doesn't start when Puppet refreshes it.

This is a pretty common security configuration and there's no reason not to use su - since the init scripts run as root anyway.