Skip to content

Commit

Permalink
Change inclusion of apache::mod::rewrite in vhost.pp
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierleune committed May 26, 2014
1 parent fbf9678 commit 8a44be7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@

# Load mod_rewrite if needed and not yet loaded
if $rewrites or $rewrite_cond {
if ! defined(Apache::Mod['rewrite']) {
::apache::mod { 'rewrite': }
if ! defined(Class['apache::mod::rewrite']) {
include ::apache::mod::rewrite
}
}

Expand Down

0 comments on commit 8a44be7

Please sign in to comment.