aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/config.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/config.pp b/manifests/config.pp
index 08b80fb..b09a68b 100644
--- a/manifests/config.pp
+++ b/manifests/config.pp
@@ -1,10 +1,10 @@
-define php::config($value, $ensure = 'present', $sapi = '') {
+define php::config($key, $value, $ensure = 'present', $sapi = '') {
file { "/etc/php5/${sapi}/conf.d/${name}.ini":
ensure => $ensure,
owner => root,
group => root,
mode => 0644,
- content => "${name}=${value}\n",
+ content => "${key}=${value}\n",
notify => $sapi ? {
'apache2' => Service['apache2'],
default => undef,