]> gitweb.fluxo.info Git - puppet-php.git/commitdiff
Default SAPI for php::config
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 5 Jul 2016 18:54:12 +0000 (15:54 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 5 Jul 2016 18:54:12 +0000 (15:54 -0300)
manifests/config.pp

index 83910d4ec088c059538c2b52720052d2859ceff7..d63821b6cd15e3e2fc6c766615fc711f1dd30909 100644 (file)
@@ -1,4 +1,4 @@
-define php::config($key, $value, $ensure = 'present', $sapi = '') {
+define php::config($key, $value, $ensure = 'present', $sapi = 'apache2') {
   file { "${::php::folder}/${sapi}/conf.d/${name}.ini":
     ensure  => $ensure,
     owner   => root,