]> gitweb.fluxo.info Git - puppet-php.git/commitdiff
Do not define php-fpm service when php::fpm is set to absent
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 7 Jun 2018 11:20:00 +0000 (08:20 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 7 Jun 2018 11:20:00 +0000 (08:20 -0300)
manifests/fpm.pp

index 1d3d18c5000f4bdf3b5c3df238a7c49d308bef91..1fb3d0cb55419996baa15cb9d3d97924e32e1a1a 100644 (file)
@@ -19,7 +19,7 @@ class php::fpm(
   service { "php${version}-fpm":
     ensure  => $ensure ? {
       'present' => running,
-      default   => stopped,
+      default   => undef,
     },
     require => Package['php-fpm'],
   }