Closed ekohl closed 2 years ago
Puppetfiles
.These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.
Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.
And I just see that https://github.com/puppetlabs/puppetlabs-apt/pull/1017 is much more complete.
On Facter 3 the lsb-release package is needed for the os.distro fact to be present. If it's not, $facts['os']['distro']['codename'] is essentially undef['codename'] which then fails to compile.
Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Operator '[]' is not applicable to an Undef Value.
The fact() function from stdlib doesn't have this problem and properly returns undef on missing facts. Prior to 7e31732abd277c852564c10011099bdf6967dc4f this wasn't a problem because it used $facts['lsbdistcodename'] which also returned undef.