puppetlabs/puppet — pull request #324 by glarizza (2012-01-10 21:14:47+00:00)
Title: Bug/2.7.x/2273 launchd dashw

There was an issue where a service on OS X would be enabled but also
stopped and the launchd service provider couldn't start it. In this
case, the launchd service provider needed to execute `launchctl load -w
` to successfully start the service, but it wasn't programmed
to do so.

To remedy this, the launchd service provider's start method now checks
if the job is disabled OR if the job is currently stopped.

A spec test was added to catch for this unique situation.