Fixed dependency in apache::debian::a2enmod
This commit is contained in:
parent
c9c0bfa522
commit
84f0f1694c
1 changed files with 6 additions and 5 deletions
|
@ -339,6 +339,7 @@ define apache::debian::a2enmod($source="", $content="") {
|
||||||
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"] {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue