You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
undefined method `ParseError' for Puppet:Module at /etc/puppet/ext_modules/consul/manifests/service.pp:36 on node ip-172-18-0-234.ec2.internal
It appears that I can fix this by using raise(Puppet::ParseError, 'message') rather than raise Puppet::ParseError('message'), however I'm not a ruby developer so I'm not sure if this is the correct change to make or not.
Ruby 1.8 is the default ruby on Ubuntu 12.04 (which is why this is causing me issues). Would you be interested in a patch to fix support for 1.8 on this system configuration?
The text was updated successfully, but these errors were encountered:
Ruby 1.8 isn't supported at the moment, as within https://github.com/solarkennedy/puppet-consul/blob/master/lib/puppet/parser/functions/consul_validate_checks.rb, it is trying to call 'Puppet::ParseError' as a function. Which results in
It appears that I can fix this by using
raise(Puppet::ParseError, 'message')
rather thanraise Puppet::ParseError('message')
, however I'm not a ruby developer so I'm not sure if this is the correct change to make or not.Ruby 1.8 is the default ruby on Ubuntu 12.04 (which is why this is causing me issues). Would you be interested in a patch to fix support for 1.8 on this system configuration?
The text was updated successfully, but these errors were encountered: