aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-07-29 10:10:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-07-29 10:10:04 -0300
commit6bf44cb12aa43b43ed904adf821d5fc3f6842220 (patch)
tree8595c3f4246e82109c8bb5ce762b41004d878b81 /manifests
parent176d152fb83176cdcbac910acf1d5ad9f8ba1e44 (diff)
downloadpuppet-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.pp12
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,