Does hiera_include work properly with freeze_main?

23 views
Skip to first unread message

Trevor Vaughan

unread,
Apr 29, 2014, 10:05:48 AM4/29/14
to puppe...@googlegroups.com
I'm testing hiera_include with freeze_main enabled using 3.5.0-1 and I suspect that they are not playing well together.

Has this function combination been tested?

Thanks,

Trevor

--
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
tvau...@onyxpoint.com

-- This account not approved for unencrypted proprietary information --

Andy Parker

unread,
Apr 29, 2014, 12:00:38 PM4/29/14
to puppe...@googlegroups.com
I pretty sure we haven't tested that combination.

Does freeze_main even do anything?


--
You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/CANs%2BFoUgH4%3De61fiwhUiCLCvctGWAP6f_B09PWjq0FFVefjWhQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
Andrew Parker
Freenode: zaphod42
Twitter: @aparker42
Software Developer

Join us at PuppetConf 2014September 22-24 in San Francisco
Register by May 30th to take advantage of the Early Adopter discount save $349!

Trevor Vaughan

unread,
Apr 29, 2014, 4:36:41 PM4/29/14
to puppe...@googlegroups.com
In the normal case, freeze_main does what I expect.

Using hiera_include running, it blows up stating that I have code outside of a class, node, or definition.

I did a dump in the code and freeze_main is checking against the 'name' variable, which is blank for hiera_include so I'm not exactly sure how you would detect this.

Since hiera is now part of the core, and there was talk about making freeze_main the default in 4.0, it would be nice to deconflict this.

Thanks,

Trevor



For more options, visit https://groups.google.com/d/optout.



--

Trevor Vaughan

unread,
Apr 30, 2014, 7:51:10 AM4/30/14
to puppe...@googlegroups.com
Bug filed against Puppet core as PUP-2391.


Thanks,

Trevor
Reply all
Reply to author
Forward
0 new messages