aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-09-14 17:20:12 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-09-14 17:20:12 -0300
commite72f2a86d812581f975a0f17a3a9987c99d531b7 (patch)
tree7fbde9851c55f8a6c12e0b8a245c67ac2c46d82d
parentef26298b6340fdc8d180c4b534f90e0da07113aa (diff)
downloadpuppet-php-e72f2a86d812581f975a0f17a3a9987c99d531b7.tar.gz
puppet-php-e72f2a86d812581f975a0f17a3a9987c99d531b7.tar.bz2
Ensure fpm/conf.d is a directory
-rw-r--r--manifests/fpm.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/fpm.pp b/manifests/fpm.pp
index 9b12b93..ba6e9d3 100644
--- a/manifests/fpm.pp
+++ b/manifests/fpm.pp
@@ -28,9 +28,9 @@ define php::fpm(
# require => Package["apache"],
#}
- file { "${folder}/fpm/conf.d":
+ file { [ "${folder}/fpm", "${folder}/fpm/conf.d" ]:
ensure => $ensure ? {
- 'present' => present,
+ 'present' => directory,
default => undef,
},
require => Package["php${version}-fpm"],