aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/config.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/config.pp b/manifests/config.pp
index d63821b..287cd0c 100644
--- a/manifests/config.pp
+++ b/manifests/config.pp
@@ -1,10 +1,10 @@
-define php::config($key, $value, $ensure = 'present', $sapi = 'apache2') {
- file { "${::php::folder}/${sapi}/conf.d/${name}.ini":
+define php::config($order, $value, $ensure = 'present', $sapi = 'apache2') {
+ file { "${::php::folder}/${sapi}/conf.d/${order}-${name}.ini":
ensure => $ensure,
owner => root,
group => root,
mode => 0644,
- content => "${key}=${value}\n",
+ content => "${name}=${value}\n",
require => File["${::php::folder}/${sapi}"],
notify => $sapi ? {
'apache2' => Service['apache2'],