Hey Steve,
Ha, totally obvious now what the issue is. This is exactly what I needed,
thanks for the help and great explanation!
Cheers,
-Dan
> On Feb 9, 2019, at 10:41 AM, Stephen Marlow
> wrote:
>
> Hey Dan,
>
> In each iteration of the reduce function the memo value is replaced by the
Hey Dan,
In each iteration of the reduce function the memo value is replaced by the
result value of the block. The final return value of reduce is the result
of the last iteration of the block. The result of the block is the value of
the last statement executed. Your block has two possible result
Ben Ford wrote:
> The https://forge.puppet.com/fiddyspence/hash_file module makes it
> very easy to manage yaml files.
Will check. Thank you.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving ema
Hello,
I'm attempting to use the reduce
function(https://puppet.com/docs/puppet/6.2/function.html#reduce) to
consolidate hiera facts into data structures I can use with puppet
resources. I've run into an issue that I'm not sure how to solve. When
the data passed to the reduce function res
Judging from the version of Puppet Server you are on a version of Puppet
that has reached EOL. The hiera 5 support with features like
lookup_options was released late in the Puppet 4.x series but had some
issues before stabilizing in Puppet 5.
Can you try this with a newer puppet version? If t