aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp11
1 files changed, 6 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 55997ea..256c3d2 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -27,15 +27,16 @@ class php {
}
$folder = $::lsbdistcodename ? {
- 'xenial' => '/etc/php',
+ 'xenial' => '/etc/php/5.6',
default => '/etc/php5',
}
file { [ "${folder}", "${folder}/cli", "${folder}/apache2" ]:
- ensure => directory,
- owner => root,
- group => root,
- mode => 0755,
+ ensure => directory,
+ owner => root,
+ group => root,
+ mode => 0755,
+ require => Package['php5'],
}
file { "${folder}/cli/php.ini":