puppetlabs/puppet · error · Puppet::Error
no method is implemented for #{func.label}
Error message
no method is implemented for #{func.label} What it means
Error "no method is implemented for #{func.label}" thrown in puppetlabs/puppet.
Source
Thrown at lib/puppet/pops/types/ruby_generator.rb:403
end
bld << " path.pop\n end\n"
end
# Output function placeholders
obj.functions(false).each_value do |func|
code_annotation = RubyMethod.annotate(func)
if code_annotation
body = code_annotation.body
params = code_annotation.parameters
bld << "\n def " << rname(func.name)
unless params.nil? || params.empty?
bld << '(' << params << ')'
end
bld << "\n " << body << "\n"
else
bld << "\n def " << rname(func.name) << "(*args)\n"
bld << " # Placeholder for #{func.type}\n"
bld << " raise Puppet::Error, \"no method is implemented for #{func.label}\"\n"
end
bld << " end\n"
end
unless eq_names.empty? && !include_type
bld << "\n def eql?(o)\n"
bld << " super &&\n" unless obj.parent.nil?
bld << " o.instance_of?(self.class) &&\n" if include_type
eq_names.each { |eqn| bld << ' @' << rname(eqn) << '.eql?(o.' << rname(eqn) << ") &&\n" }
bld.chomp!(" &&\n")
bld << "\n end\n alias == eql?\n"
end
end
def content_participant?(a)
a.kind != PObjectType::ATTRIBUTE_KIND_REFERENCE && obj_type?(a.type)
end
View on GitHub (pinned to e227c27540)
When it happens
Trigger: Thrown at lib/puppet/pops/types/ruby_generator.rb:403 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of puppetlabs/puppet@e227c27540 (2026-08-21).
Data as JSON: /api/errors/ea707949e3f390c1.
Report an issue: GitHub.