Commit 473db5f1 authored by Mark Ottaway's avatar Mark Ottaway
Browse files

Testing or function name hash

parent 604b9e3f
......@@ -3,12 +3,14 @@
# Create the perl module configuration for FreeRADIUS
#
define freeradius::module::perl (
$ensure = file,
String $moddir = "${fr_moduleconfigpath}/perl",
Optional[String] $key = undef,
Optional[String] $perl_filename = undef,
Optional[String] $path = undef,
Optional[String] $content = undef,
$ensure = file,
String $moddir = "${fr_moduleconfigpath}/perl",
Optional[String] $key = undef,
Optional[String] $perl_filename = undef,
Optional[String] $path = undef,
Optional[String] $content = undef,
Optional[Hash[String, String]] $function_names = undef,
Optional[Hash[String, String]] $split_accouting_names = undef,
) {
$fr_moduleconfigpath = $::freeradius::params::fr_moduleconfigpath
$fr_group = $::freeradius::params::fr_group
......
......@@ -58,6 +58,8 @@ perl {
# Uncomment and change if you want to use function
# names other than the defaults.
#
<% @function_names.sort.each do |default, value| -%>
<%= default %><%= value %>
#func_authenticate = authenticate
#func_authorize = authorize
#func_preacct = preacct
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment