Re: [Puppet Users] Upgrade from puppet 5 to puppet 6

2020-06-24 Thread Aditya Gupta
Same error is coming even erb file is empty. On Friday, June 19, 2020 at 1:45:24 AM UTC+5:30, Justin Stoller wrote: > > providing the erb template would be valuable, if possible. > > The error looks like someone defined new constants w/in a custom function > file. > Is your erb file calling a cus

Re: [Puppet Users] Upgrade from puppet 5 to puppet 6

2020-06-24 Thread Ben Ford
That sounds like the server isn't compiling the code that you think it is. Can you first restart puppetserver to ensure that it's not just cached, and then check that you're deploying code correctly and that you're using the right environment, etc. Also, try commenting out the resource causing the

Re: [Puppet Users] Upgrade from puppet 5 to puppet 6

2020-06-24 Thread Justin Stoller
On Wed, Jun 24, 2020 at 9:31 AM Aditya Gupta wrote: > Same error is coming even erb file is empty. > Have you changed the content of the included template function or written your own? If not I would assume it's coming from this line: https://github.com/puppetlabs/puppet/blob/master/lib/puppet/p