aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-09-14 17:08:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-09-14 17:08:21 -0300
commit2cd5b32502b7fc91e46fd1b6ba79ba5fab50eddc (patch)
treeac4a1085ce8321b44d0faab78a72eec38ab7754d /manifests
parent7e17a724df67ab386734b46c54df78eb5de1e83a (diff)
downloadpuppet-php-2cd5b32502b7fc91e46fd1b6ba79ba5fab50eddc.tar.gz
puppet-php-2cd5b32502b7fc91e46fd1b6ba79ba5fab50eddc.tar.bz2
Fix service name for series 5 ad php::apc
Diffstat (limited to 'manifests')
-rw-r--r--manifests/apc.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/apc.pp b/manifests/apc.pp
index af99643..03beada 100644
--- a/manifests/apc.pp
+++ b/manifests/apc.pp
@@ -3,6 +3,7 @@ class php::apc(
) {
$fpm = $::php::fpm
$series = $::php::series
+ $services_portion = regsubst($series, '5', '5.6')
$services_portion = regsubst($series, '^', 'php')
$services = regsubst($services_portion, '$', '-fpm')