diff options
-rw-r--r-- | manifests/init.pp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index be9e7d7..6c12405 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -87,33 +87,33 @@ class apache( hasrestart => true, } - module { "macro": + apache::module { "macro": ensure => present, require => Package["mod_macro"], } - module { "headers": + apache::module { "headers": ensure => present, require => Package["apache"], } - module { "ssl": + apache::module { "ssl": ensure => present, require => Package["apache"], } - module { "rewrite": + apache::module { "rewrite": ensure => present, require => Package["apache"], } # Conflicts with mpm_itk - module { "mpm_event": + apache::module { "mpm_event": ensure => absent, require => Package['apache'], } - module { "mpm_itk": + apache::module { "mpm_itk": ensure => $::lsbdistcodename ? { wheezy => absent, default => present, @@ -124,7 +124,7 @@ class apache( # disable compression # prevents BREACH attack # see https://superuser.com/questions/627413/how-do-i-disable-http-level-compression - module { [ "deflate", "gzip" ]: + apache::module { [ "deflate", "gzip" ]: ensure => absent, require => Package["apache"], } |