From: Silvio Rhatto Date: Thu, 7 Jun 2018 11:20:00 +0000 (-0300) Subject: Do not define php-fpm service when php::fpm is set to absent X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=eeb56ded22ba8c6f2bcbac60d30ad6aae5f5db44;p=puppet-php.git Do not define php-fpm service when php::fpm is set to absent --- diff --git a/manifests/fpm.pp b/manifests/fpm.pp index 1d3d18c..1fb3d0c 100644 --- a/manifests/fpm.pp +++ b/manifests/fpm.pp @@ -19,7 +19,7 @@ class php::fpm( service { "php${version}-fpm": ensure => $ensure ? { 'present' => running, - default => stopped, + default => undef, }, require => Package['php-fpm'], }