Larry Liu
2014-Nov-21 15:16 UTC
[Puppet Users] Anyone made parser = future working on CentOS 6.5 & Ruby 1.8.x?
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? -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/aa16b8e8-c503-42f2-9c41-26ea6e027023%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.