diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-02-19 16:40:52 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-02-19 16:40:52 -0300 |
commit | c30f92b2ac61db0faf9722a10b1ea5e17f96f811 (patch) | |
tree | ae9a255ec882f25b7f7d3b4d39c1c73566227fee | |
parent | 85a310abc11c77cfda10d2e3a9ee9d06bc523195 (diff) | |
download | puppet-php-c30f92b2ac61db0faf9722a10b1ea5e17f96f811.tar.gz puppet-php-c30f92b2ac61db0faf9722a10b1ea5e17f96f811.tar.bz2 |
Managing 'libapache2-mod-php5'
-rw-r--r-- | manifests/init.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index dff87c9..ceb5c79 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -19,8 +19,8 @@ class php { include pear - # The needed packages - package { [ 'php5', 'php5-mysql', 'php5-cli', 'php5-ffmpeg', 'php5-curl', 'php5-gmp' ]: + # The needed packages: we could also try libapache2-mod-php5filter + package { [ 'php5', 'php5-mysql', 'php5-cli', 'php5-ffmpeg', 'php5-curl', 'php5-gmp', 'libapache2-mod-php5' ]: ensure => installed, } @@ -42,6 +42,7 @@ class php { # The needed apache modules apache::module { 'php5': ensure => present, + require => Package['libapache2-mod-php5'], } file { '/etc/php5/cli/php.ini': |