From 93e876ef5d0e5d8616f4d831473fe4adc10099b9 Mon Sep 17 00:00:00 2001 From: Daniele Sluijters Date: Mon, 11 Jan 2016 09:27:27 +0100 Subject: params: Do the lookup through `xfacts` This fixes the strict variables compatibility. --- manifests/params.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index a72726c..fceec73 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -56,7 +56,7 @@ class unattended_upgrades::params { } 'ubuntu': { # TODO do we really want to pull in ${distro_codename}-updates by default? - case $::lsbdistcodename { + case $xfacts['lsbdistcodename'] { 'precise': { $legacy_origin = true $origins = [ -- cgit v1.2.3