Re: [Puppet Users] Is freeze_main supposed to work this way?

2018-04-17 Thread Henrik Lindberg
On 17/04/18 16:46, jcbollinger wrote: On Tuesday, April 17, 2018 at 12:57:19 AM UTC-5, Henrik Lindberg wrote: I just fixed a bug regarding freeze_main that was found when an autoloaded class/define made use of a not already loaded custom data type. The logic raising the error was

Re: [Puppet Users] Is freeze_main supposed to work this way?

2018-04-17 Thread jcbollinger
On Tuesday, April 17, 2018 at 12:57:19 AM UTC-5, Henrik Lindberg wrote: > I just fixed a bug regarding freeze_main that was found when an > autoloaded class/define made use of a not already loaded custom data > type. The logic raising the error was too simplistic in its check for > the

Re: [Puppet Users] Is freeze_main supposed to work this way?

2018-04-16 Thread Henrik Lindberg
On 17/04/18 00:10, jcbollinger wrote: This Puppet 5.4.0 error message wraps up the situation in a pretty tidy package: Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, Cannot have code

[Puppet Users] Is freeze_main supposed to work this way?

2018-04-16 Thread jcbollinger
This Puppet 5.4.0 error message wraps up the situation in a pretty tidy package: Error: Could not retrieve catalog from remote server: Error 500 on SERVER: > Server Error: Evaluation Error: Error while evaluating a Function Call, > Cannot have code outside of a class/node/define because