Bruno Léon
2014-Sep-11 14:26 UTC
[Puppet Users] hiera_array() overriden when used as default class parameter
Hi there, it took me while to figure this out but it seems that when you do set the default value of a class parameter to the value hiera_array('myparameter'), hiera does not do an array merge but a standard "most specific value found". This is on Puppet 3.7. I created a module to show this:https://github.com/brunoleon/puppet-foo I would expect to have the same behavior whether I call hiera_array() within class body or a default parameter value. Can anybody confirm this is a bug ? -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAJgpziUdqOainky5XgjmGwMyMHEzW6_tk2RK0PxbA7F1n53F-w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.