Fixed dependency in apache::debian::a2enmod

This commit is contained in:
Ossi Salmi 2010-11-18 10:47:42 +02:00 committed by Timo Mkinen
parent c9c0bfa522
commit 84f0f1694c

View file

@ -334,11 +334,12 @@ define apache::debian::a2enmod($source="", $content="") {
if $source or $content { if $source or $content {
file { "/etc/apache2/mods-available/${name}.conf": file { "/etc/apache2/mods-available/${name}.conf":
mode => 0644, mode => 0644,
owner => root, owner => root,
group => root, group => root,
notify => Service["apache2"], notify => Service["apache2"],
before => Exec["a2enmod-${name}"], before => Exec["a2enmod-${name}"],
require => Package["httpd"],
} }
if $source { if $source {
File["/etc/apache2/mods-available/${name}.conf"] { File["/etc/apache2/mods-available/${name}.conf"] {