On 11/21/2014 04:16 PM, Larry Liu wrote:
> Hi everyone,
>
> According to puppetlab's doc, parser=future is supposed to work with
> puppet version 3.5 or higher. I'm on 3.7.1 which falls under
> https://docs.puppetlabs.com/puppet/latest/reference/experiments_future.html,
> but it has not worked for me at all. Interestingly it works fine if I
> run just CLI puppet apply --parser=future xyz.pp. Once I enable it on
> my puppet masters, clients just keep getting 'Error: Could not
> retrieve catalog from remote server: Error 400 on SERVER: Could not
> parse for environment production: Do not add methods to model classes
> directly, add them to the ClassModule instead on node xxxxxx'. The
> ruby version on both masters and clients is ruby-1.8.7.352-13.el6.x86_64.
>
> Anyone know why?

The error is from rgen.

https://github.com/puppetlabs/puppet/blob/master/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder.rb#L198

It is unclear how your master triggers this.

Can you reproduce the error using `puppet master --compile <node fqdn>`?
If so, please add --trace and put the output somewhere for us to see.

Thanks,
Felix

-- 
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/5470FC02.10204%40Alumni.TU-Berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to