]> gitweb.fluxo.info Git - puppet-php.git/commitdiff
Ensure fpm/conf.d is a directory
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 14 Sep 2018 20:20:12 +0000 (17:20 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 14 Sep 2018 20:20:12 +0000 (17:20 -0300)
manifests/fpm.pp

index 9b12b93c3c5a9dae754a1b9a3411e248d65d602a..ba6e9d3f79bc5a919b3aafd0740087dea803da34 100644 (file)
@@ -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"],