Copying an init script I found in the project https://github.com/electrical/puppet-bucky.
I've sent a pull request to the original author with my simple change.

I'm putting this here so that I don't have to pull an entire puppet module for this single file.