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 <adityalnc...@gmail.com> wrote:

> 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 { '/etc/libvirt/libvirtd.conf':
>         ensure  => file,
>         path    => '/etc/libvirt/libvirtd.conf',
>         content => template('kvm/libvirtd.conf.erb'),
>     }
>
>
> Please suggest.
>
> Thanks,
> Aditya
>
> --
> 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 puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/d541414b-9f12-4d0b-8abf-ecd00f67747ao%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/d541414b-9f12-4d0b-8abf-ecd00f67747ao%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CA%2B%3DBEqWjK_O1Z808eE62aPFzoSEs8ThaCM-Zq-HuvpJnZBWg3Q%40mail.gmail.com.

Reply via email to