From 5b21d439e952292a46cf9e659bf8ea6c50de2030 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 5 Jul 2016 15:52:58 -0300 Subject: Adds php::resources --- manifests/config.pp | 1 + 1 file changed, 1 insertion(+) (limited to 'manifests/config.pp') 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, -- cgit v1.2.3