From eeb56ded22ba8c6f2bcbac60d30ad6aae5f5db44 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 7 Jun 2018 08:20:00 -0300 Subject: Do not define php-fpm service when php::fpm is set to absent --- manifests/fpm.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], } -- cgit v1.2.3