puppetlabs/puppet — pull request #463 by 20after4 (2012-02-04 12:46:15+00:00)
Title: Fix for puppetlabs issue 4480 (bug in the runit service)

Sleep for 5 seconds after enabling the service,
before calling sv start. This gives runsvdir time to
notice the new service symlink. Without this delay,
the runit service will an error on start which causes
puppet to fail the start command and skip dependent
resources.

Note: this is identical to the code in https://github.com/puppetlabs/puppet/pull/422, just moved to a branch.