From c42e5c5c9ff5affd5af50b5e99d3b24691b59d05 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 14 Sep 2018 17:11:13 -0300 Subject: Fix variable names at php::apc --- manifests/apc.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests') 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, -- cgit v1.2.3