aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-09-14 17:11:13 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-09-14 17:11:13 -0300
commitc42e5c5c9ff5affd5af50b5e99d3b24691b59d05 (patch)
tree8144755c9f8c1b1ddc9fe55baf8366c71ab528cc /manifests
parent2cd5b32502b7fc91e46fd1b6ba79ba5fab50eddc (diff)
downloadpuppet-php-c42e5c5c9ff5affd5af50b5e99d3b24691b59d05.tar.gz
puppet-php-c42e5c5c9ff5affd5af50b5e99d3b24691b59d05.tar.bz2
Fix variable names at php::apc
Diffstat (limited to 'manifests')
-rw-r--r--manifests/apc.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/apc.pp b/manifests/apc.pp
index 03beada..34bb6a2 100644
--- a/manifests/apc.pp
+++ b/manifests/apc.pp
@@ -3,9 +3,9 @@ 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')
+ $services_version = regsubst($series, '5', '5.6')
+ $services_name = regsubst($services_version, '^', 'php')
+ $services = regsubst($services_name, '$', '-fpm')
package { [ 'php-apcu', 'php-apcu-bc' ]:
ensure => $ensure,