puppetlabs/puppet — pull request #1459 by domcleal (2013-02-07 00:10:39+00:00)
Title: (#7165) Invalidate refreshes after services are started

After a service is started (ensure transitions to :running), discard all
scheduled refreshes which would otherwise cause a restart immediately after it
had started.

This enables the pattern of a file notifying a stopped service resource, which
simply deploys the file, starts the service and leaves it running.