aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-07-05 16:00:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-07-05 16:00:24 -0300
commit09ed4c4d2e016df21c560a563666a8ebc5fc86ea (patch)
tree8d829cb707e744d647e8057007c62a47f001ee84
parent3c3d36d12967e5cf011e83d040bdd4694d7749c8 (diff)
downloadpuppet-php-09ed4c4d2e016df21c560a563666a8ebc5fc86ea.tar.gz
puppet-php-09ed4c4d2e016df21c560a563666a8ebc5fc86ea.tar.bz2
Dependency on PHP folder
-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":