puppetlabs/puppetlabs-apache — pull request #83 by hunner (2012-08-20 04:25:04+00:00)
Title: Fix failing spec tests

- Functionality of the apache module depends on the existence of either `$osfamily` or `$operatingsystem`. The tests now reflect this.
- The class `apache` is no longer tested for inclusion in `apache::mod` because of a bug in puppet-rspec which creates duplicate resources.
- Most of the test coverage is for existing code on the `Debian` `$osfamily` as per the the pre-existing design. `RedHat` coverage has been added on a few specific counts.

Further commits are to get the tests passing.

One additional commit that breaks the spec tests due to a puppet-rspec bug of creating duplicate resources when defined resources are declared in an included class from another defined resource of the same type. But this commit also causes the module to not have backwards incompatible changes.