I was afraid that would be an answer I got... :-) There are plans to move to Puppet 4 where I know all this works but given I have to support all this on RHEL 6.x there may be some obstacles there. I would LOVE to wave a magic wand and make Puppet 3.x go away....
So.. 3.8 eh? There's something to investigate.... On Tue, Sep 26, 2017 at 1:46 PM Rob Nelson <[email protected]> wrote: > If I had to guess, it would be that the merge settings either don't exist > or are buggy in 3.7.2. 3.8 was EOL in December last year, if you have to > stick with 3 I'd suggest at least trying it with 3.8. > > On Tue, Sep 26, 2017 at 12:35 PM Peter Berghold <[email protected]> > wrote: > >> Seeing things like doing a hiera lookup inside a manifest such as >> >> $somevar = hiera('randomvalue','notfound') >> >> returning nils and other odd behavior. >> >> I have a hiera.yaml file that looks like: >> >> --- >> :backends: >> - yaml >> :merge_behavior: deeper >> :deep_merge_options: {} >> :yaml: >> :datadir: "/etc/puppet/environments/%{environment}/hieradata" >> :hierarchy: >> - "function/${::facts.host_function}" >> - "datacenter/%{::facts.sitename}" >> - "nodes/%{fqdn}" >> - "common_classes" >> - "common" >> >> and yet I see both the nodes and common_classes being ignored. >> >> Of more concern to me is I'm trying to set values such as >> >> somemod::parms::value1: somevalue >> >> and that's being ignored. >> >> Puppet.conf is configured correctly because it *is* finding a class list >> in common.yaml but nowhere else. >> >> >> Thoughts? >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/CAArvnv2ssHekfEX9Asi4eEriQqJ0ohgbyg%3DGSvM%2B0L_eGU2RUw%40mail.gmail.com >> <https://groups.google.com/d/msgid/puppet-users/CAArvnv2ssHekfEX9Asi4eEriQqJ0ohgbyg%3DGSvM%2B0L_eGU2RUw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > Rob Nelson > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CAC76iT8LVV3HzOC-9eKDyHJKhJTdGjEY9j5jWYqafW8BY6GYnQ%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CAC76iT8LVV3HzOC-9eKDyHJKhJTdGjEY9j5jWYqafW8BY6GYnQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAArvnv1Mnqs1B_ZAUUFSb1xSifUu6X%2Birj41C9j1UJa%2Bprg2QQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
