diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-22 13:15:54 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-22 13:15:54 -0300 |
commit | 7f820fa183f48266879027119869f20c401c06e1 (patch) | |
tree | f478057189701fc5aa8f0cf693e548709f078705 /manifests | |
parent | 4188cd955c68f3ba8d123b783dc7920cbc5fe5ef (diff) | |
download | puppet-php-7f820fa183f48266879027119869f20c401c06e1.tar.gz puppet-php-7f820fa183f48266879027119869f20c401c06e1.tar.bz2 |
Enable apache modules
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/series5.pp | 8 | ||||
-rw-r--r-- | manifests/series7.pp | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/manifests/series5.pp b/manifests/series5.pp index 307961a..6bc8bbb 100644 --- a/manifests/series5.pp +++ b/manifests/series5.pp @@ -71,8 +71,8 @@ class php::series5( } # The needed apache modules - #apache::module { "php${version}": - # ensure => present, - # require => Package["libapache2-mod-php${version}"], - #} + apache::module { "php${version}": + ensure => present, + require => Package["libapache2-mod-php${version}"], + } } diff --git a/manifests/series7.pp b/manifests/series7.pp index f15a32a..1275784 100644 --- a/manifests/series7.pp +++ b/manifests/series7.pp @@ -25,10 +25,10 @@ class php::series7( } # The needed apache modules - #apache::module { "php${version}": - # ensure => present, - # require => Package["libapache2-mod-php${version}"], - #} + apache::module { "php${version}": + ensure => present, + require => Package["libapache2-mod-php${version}"], + } file { [ "${folder}", "${folder}/cli", "${folder}/apache2", "${folder}/cli/conf.d", "${folder}/apache2/conf.d" ]: ensure => directory, |