diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-05-30 14:09:25 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-05-30 14:09:25 -0300 |
commit | fb83f10fe25c67bfce72199204bd3bfd5a9c838d (patch) | |
tree | 539ba62e26449e47d2bedc0f6ff221fd6dcd850a /manifests | |
parent | c681113167a2774903915236c5a6e6b923c1737d (diff) | |
download | puppet-apache-fb83f10fe25c67bfce72199204bd3bfd5a9c838d.tar.gz puppet-apache-fb83f10fe25c67bfce72199204bd3bfd5a9c838d.tar.bz2 |
Use apache::module instead of just module
Diffstat (limited to 'manifests')
-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"], } |