Skip to content
Snippets Groups Projects
Unverified Commit 0d8b560b authored by Craig Gumbley's avatar Craig Gumbley
Browse files

(MAINT) testing

parent 5da5585c
Branches
Tags
No related merge requests found
# frozen_string_literal: true
<% function_name = name.to_sym.inspect.tr('"', "'") -%>
<% dispatch_name = name.split(':').last -%>
# https://github.com/puppetlabs/puppet-specifications/blob/master/language/func-api.md#the-4x-api
Puppet::Functions.create_function(<%= name.to_sym.inspect %>) do
Puppet::Functions.create_function(<%= function_name %>) do
dispatch <%= dispatch_name.to_sym.inspect %> do
param 'Numeric', :a
return_type 'Numeric'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment