opticpow/puppet-deluge — pull request #3 by nhinds (2014-06-28 10:03:35+00:00)
Title: Use `static-network-up` instead of `stopped networking` in upstart script

This works on ubuntu oneiric (11.10) and above, and fixes the behaviour for ubuntu quantal (12.10) and above which no longer fire `stopped networking` during startup.

Upstart cookbook bug describing the issue: https://bugs.launchpad.net/upstart-cookbook/+bug/1222004

If you need to support ubuntu versions older than 11.10 then some version sniffing will need to be added to use `stopped networking` on old versions and `static-network-up` on new versions.