On 01/05/15 09:40, jcbollinger wrote:
> On Thursday, April 30, 2015 at 12:10:19 PM UTC-5, Joseph Swick wrote:
>>  The hiera issue is 
>> the only reference to it I could find when I first started looking into 
>> what was going on and why I wasn't getting the results I expected.  It's 
>> even mentioned in the hiera documentation: 
>>
>>
>> https://docs.puppetlabs.com/hiera/1/lookup_types.html#deep-merging-in-hiera--120
>>  
>>
>>
> 
> I'm not sure what you're trying to say there.  Yes, hash-merge behavior is 
> described in the hiera docs.  That's relevant when you request a hash-merge 
> lookup.  Not so much when you request a priority lookup, whether explicitly 
> or implicitly.
>

My issue is that as more module support the passing of custom parameters
via a hash that people populate with Heira lookups (regardless of
storage backend), they're going to be running into this issue even more
and wondering why things don't work the way they expect they should.
Perhaps the additional information that automatic data bindings with
heira and puppet modules is priory only needs to be explicitly stated
that it won't merge any hashes.  Because, the docs imply that merges
would happen with hashes (when they obviously don't).

To me there is a disconnect between the documentation of heira lookups
with the function calls and the automatic data binding feature of heira.

In my organization, I'm not the only one who's gotten burned by the
difference in merge behavior from the automatic data bindings.  Those
two pages I linked two have been the only documentation I've been able
to find to pass on to people internally when they come across the problem.


-- 
Joseph Swick <joseph.sw...@meltwater.com>
Senior SaaS Operations Engineer
Meltwater Group

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/55477C5A.3000709%40meltwater.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to