hw-cookbooks/dpkg_autostart — pull request #3 by skoczen (2013-08-27 18:45:12+00:00)
Title: Adds a conditional attribute check for run_content

Ok, some caveats:

1. I don't speak ruby.
2. I've spent a total of two days with chef-solo.

That said, as issue #1 mentions, this cookbook is broken in Chef 10. So, this PR is a fix. I worry it's actually a fix that disables much of the functionality of `dpkg_autostart`, but I wasn't able to get `run_context` set via `initialize` or `attributes/default.rb`. This change does at least allow the package to run, and in my case, let me get on with installing the postgis cookbook that depended on this recipe.

Hopefully this is of some use!

Thanks,
Steven