From c30f92b2ac61db0faf9722a10b1ea5e17f96f811 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 19 Feb 2014 16:40:52 -0300 Subject: Managing 'libapache2-mod-php5' --- manifests/init.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'manifests') 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': -- cgit v1.2.3