]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commit
apt::params: Complete $xfacts.
authorDaniele Sluijters <daenney@users.noreply.github.com>
Tue, 3 Mar 2015 17:07:48 +0000 (18:07 +0100)
committerDaniele Sluijters <daenney@users.noreply.github.com>
Tue, 3 Mar 2015 17:07:48 +0000 (18:07 +0100)
commit1c707c7d323f80502e09008351c5007b385a1c97
treed97a2dc159dd38bb4e9ae6dd7e36c4b41b58a2ef
parent001e3a42b971b12305b50859f99d4bce3f422d46
apt::params: Complete $xfacts.

`$xfacts` now contains and guards all `lsb*` facts. Looking up any
`lsb*`-related fact should now always be done through `$::apt::xfacts`
to ensure that the values are always set to either the value of the fact
or undef. This avoids all sorts of kerfuffles with strict variables.
manifests/params.pp