puppetlabs/puppetlabs-apache — pull request #133 by hunner (2012-12-19 19:08:39+00:00)
Title: Add a2mod instances method on Debian

The a2mod Debian provider (just called `a2mod.rb` instead of
`debian.rb`) did not have an instances method which did not allow
resource purging or `puppet resource a2mod` to work. This commit adds
this by using the `apache2ctl -M` command which lists loaded modules.