From 33064128b91ef3aabaad106b2db62783c6093d06 Mon Sep 17 00:00:00 2001 From: Ashley Penney Date: Wed, 16 Oct 2013 13:08:03 -0400 Subject: [PATCH] getparam() isn't available in all stdlib versions. There's no need for getparam() here when a regular variable works just fine. --- manifests/ppa.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/ppa.pp b/manifests/ppa.pp index 7cb88c8..7849268 100644 --- a/manifests/ppa.pp +++ b/manifests/ppa.pp @@ -28,8 +28,8 @@ define apt::ppa( } if defined(Class[apt]) { - $proxy_host = getparam(Class[apt], 'proxy_host') - $proxy_port = getparam(Class[apt], 'proxy_port') + $proxy_host = $apt::proxy_host + $proxy_port = $apt::proxy_port case $proxy_host { false, '': { $proxy_env = [] -- 2.45.2