bodgit / puppet-yum

Puppet Module for managing Yum
https://forge.puppet.com/bodgit/yum
Apache License 2.0
0 stars 1 forks source link

Replace delete_undef_values() #1

Closed bodgit closed 5 years ago

bodgit commented 5 years ago

It's broken in certain Puppet/stdlib combinations and doesn't strip out undef's, replace with the equivalent native constructs:

$hash.filter |$x| { $x[1] =~ NotUndef }
$array.filter |$x| { $x =~ NotUndef }