opscode-cookbooks/apache2 — pull request #49 by giorgio-v (2013-03-01 06:46:44+00:00)
Title: Better support for SUSE distribution

* recipes/default.rb:
- Corrected service commands
- Corrected support for `a2enmod` and `a2dismod`
- Corrected support for template in `/etc/sysconfig`. Now path is
parameterized with the name of the package.
- Corrected path to `httpd.conf`
* templates/default/apache2.conf.erb:
- Specified platform family
* templates/default/etc-sysconfig-httpd.erb:
- Typo
* templates/suse/etc-sysconfig-httpd.erb:
- Created specific template for `/etc/sysconfig/apache2`
* attributes/default.rb:
- SUSE-specific attribute values. Added `['apache']['docroot']`
attribute to the default ones. I think it could be useful to determine the
node-level prefix of the vhosts.