diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-07-05 16:00:24 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-07-05 16:00:24 -0300 |
commit | 09ed4c4d2e016df21c560a563666a8ebc5fc86ea (patch) | |
tree | 8d829cb707e744d647e8057007c62a47f001ee84 | |
parent | 3c3d36d12967e5cf011e83d040bdd4694d7749c8 (diff) | |
download | puppet-php-09ed4c4d2e016df21c560a563666a8ebc5fc86ea.tar.gz puppet-php-09ed4c4d2e016df21c560a563666a8ebc5fc86ea.tar.bz2 |
Dependency on PHP folder
-rw-r--r-- | manifests/init.pp | 11 |
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": |