summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Sluijters <daenney@users.noreply.github.com>2016-01-11 09:27:27 +0100
committerDaniele Sluijters <daenney@users.noreply.github.com>2016-01-11 09:27:27 +0100
commit93e876ef5d0e5d8616f4d831473fe4adc10099b9 (patch)
treea79520cb61a91bc4df3c4f81d3b3f4de5accd595
parent4e73713e52e8ab6ec5155f3f88d25bb8cb370629 (diff)
params: Do the lookup through `xfacts`
This fixes the strict variables compatibility.
-rw-r--r--manifests/params.pp2
1 files changed, 1 insertions, 1 deletions
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 = [