aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-07-05 15:54:12 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-07-05 15:54:12 -0300
commit797a046405c3ded0dd20056209b1d549e4c8c2f4 (patch)
tree15f38cc7e9cc3cc617f82b5cdf45b25867cadb8e
parent5b21d439e952292a46cf9e659bf8ea6c50de2030 (diff)
downloadpuppet-php-797a046405c3ded0dd20056209b1d549e4c8c2f4.tar.gz
puppet-php-797a046405c3ded0dd20056209b1d549e4c8c2f4.tar.bz2
Default SAPI for php::config
-rw-r--r--manifests/config.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/config.pp b/manifests/config.pp
index 83910d4..d63821b 100644
--- a/manifests/config.pp
+++ b/manifests/config.pp
@@ -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,