diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-07-29 10:10:04 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-07-29 10:10:04 -0300 |
commit | 6bf44cb12aa43b43ed904adf821d5fc3f6842220 (patch) | |
tree | 8595c3f4246e82109c8bb5ce762b41004d878b81 /manifests | |
parent | 176d152fb83176cdcbac910acf1d5ad9f8ba1e44 (diff) | |
download | puppet-php-6bf44cb12aa43b43ed904adf821d5fc3f6842220.tar.gz puppet-php-6bf44cb12aa43b43ed904adf821d5fc3f6842220.tar.bz2 |
Fix: ensure all previous php-fpm services are stopped
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/fpm.pp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/fpm.pp b/manifests/fpm.pp index ba6e9d3..0ef6a7b 100644 --- a/manifests/fpm.pp +++ b/manifests/fpm.pp @@ -22,6 +22,18 @@ define php::fpm( } } + $::php::params::version7_previous.each |$item| { + service { "php${item}-fpm": + ensure => stopped, + } + } + + $::php::params::version5_previous.each |$item| { + service { "php${item}-fpm": + ensure => stopped, + } + } + #apache::module { [ "proxy_fcgi", "setenvif" ]: # #ensure => $ensure, # ensure => present, |