You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code was originally designed only with hieradata in mind with the assumption that if a user wasn't using hieradata, they'd directly call the defined type.
In fact, I "stole" the idea from Gareth's Docker module's images.pp.
The use of hiera_hash was proposed in a PR back in October to account for repeating keys and native merging. After reviewing it, I merged it. That said, my understanding of hiera_hash is limited as I haven't had to use it yet, nor do I have a lot of experience with the lookup function yet
puppet-autofs/manifests/mounts.pp
Line 25 in f43a0f4
$mount
is passed tocreate_resources
which takes a hash as its second argument, not an array.I think the correct change isn't
but perhaps
In this way, the module would work for users who have passed a mounts hash to the base class explicitly as well as those using hiera.
There's also every chance I've just misread the code and this isn't a bug/issue at all! :)
The text was updated successfully, but these errors were encountered: