aboutsummaryrefslogtreecommitdiff
path: root/manifests/config.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/config.pp')
-rw-r--r--manifests/config.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/config.pp b/manifests/config.pp
index 22ae8a8..83910d4 100644
--- a/manifests/config.pp
+++ b/manifests/config.pp
@@ -5,6 +5,7 @@ define php::config($key, $value, $ensure = 'present', $sapi = '') {
group => root,
mode => 0644,
content => "${key}=${value}\n",
+ require => File["${::php::folder}/${sapi}"],
notify => $sapi ? {
'apache2' => Service['apache2'],
default => undef,