]> gitweb.fluxo.info Git - puppet-php.git/commitdiff
Managing 'libapache2-mod-php5'
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 19 Feb 2014 19:40:52 +0000 (16:40 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 19 Feb 2014 19:40:52 +0000 (16:40 -0300)
manifests/init.pp

index dff87c969dac6501ae2cbe22c817705251c5d988..ceb5c799ab50c92bda787a8bc0b042421baf483e 100644 (file)
@@ -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':