Legacy function errors would should include the source path. For example, if you have a 3x function in module, like "$codedir/environments/production/modules/sample/lib/puppet/parser/functions/sample.rb" containing:
{code:ruby} module Puppet::Parser::Functions newfunction(:sample, :type => :rvalue, :doc => <<-EOS A function using the 3x API EOS ) do |arguments| "the returned value" end
Legacy function errors should include the source path. For example, if you have a 3x function in module, like "$codedir/environments/production/modules/sample/lib/puppet/parser/functions/sample.rb" containing:
{code:ruby} module Puppet::Parser::Functions newfunction(:sample, :type => :rvalue, :doc => <<-EOS A function using the 3x API EOS ) do |arguments| "the returned value" end