[Puppet Users] Upgrade from puppet 5 to puppet 6

2020-06-18 Thread Aditya Gupta
Hello All, Recently i have updated from puppet-5 to puppet-6 but after upgrade my erb stop working. It is throwing error: Error: Error while evaluating a Function Call, undefined method `[]' for Puppet::Pops::Loader::RubyLegacyFunctionInstantiator::Puppet:Module Simple resource: file { '

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

2020-06-18 Thread Justin Stoller
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 custom function? On Thu, Jun 18, 2020 at 8:08 AM Aditya Gupta wrote: > Hello All, > > Recently i have updated from puppet-5 to pu

[Puppet Users] wrong @host.puppetmaster rendered by templates when using multiples puppetmasters

2020-06-18 Thread Yvan Broccard
Hello, I have discovered a weird behavour with the use of templates when using the @host.puppetmaster parameter. I have 4 puppetmasters, among them one is the CA. Each puppetmaster is intended to serve only one environment. It worked in the past, but I have discovered now that it doesn't work a