From: Silvio Rhatto Date: Thu, 12 Apr 2018 15:48:31 +0000 (-0300) Subject: Manage fpm/conf.d X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e828f8955fd0a7a457b09d6a99fb9e4db0a11e92;p=puppet-php.git Manage fpm/conf.d --- diff --git a/manifests/fpm.pp b/manifests/fpm.pp index 25b1ee5..6a80ab8 100644 --- a/manifests/fpm.pp +++ b/manifests/fpm.pp @@ -26,4 +26,12 @@ class php::fpm( ensure => $ensure, require => Package["apache"], } + + file { "${folder}/fpm/conf.d": + ensure => $ensure ? { + 'present' => present, + default => undef, + }, + require => Package['php-fpm'], + } }