aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-07 08:20:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-07 08:20:00 -0300
commiteeb56ded22ba8c6f2bcbac60d30ad6aae5f5db44 (patch)
tree2cf175cf67b8898074a1f4354fecca85faf52bd7
parentd9e324e703e87f082e233154ccb4413ebd3a8ba1 (diff)
downloadpuppet-php-eeb56ded22ba8c6f2bcbac60d30ad6aae5f5db44.tar.gz
puppet-php-eeb56ded22ba8c6f2bcbac60d30ad6aae5f5db44.tar.bz2
Do not define php-fpm service when php::fpm is set to absent
-rw-r--r--manifests/fpm.pp2
1 files changed, 1 insertions, 1 deletions
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'],
}