Commit adcd8883 authored by guest715's avatar guest715
Browse files

Fix users template permits the users array to contain either Hashes or Strings...

Fix users template permits the users array to contain either Hashes or Strings but the files module users parameter definition specifies it can only contain Hashes
parent ae3ea72e
......@@ -10,7 +10,7 @@ define freeradius::module::files (
Optional[String] $usersfile = undef,
Optional[String] $acctusersfile = undef,
Optional[String] $preproxy_usersfile = undef,
Array[Hash] $users = [],
Array $users = [],
Optional[String] $source = undef,
Optional[String] $content = undef,
) {
......
......@@ -6,8 +6,8 @@
<%- replies = user['reply_items'] ? user['reply_items'] : [] -%>
<%= user['login'] %> <%= checks.join(", ") %>
<%= "\t" + replies.join(",\n\t") %>
<%- else -%>
<%= user %>
<%- end -%>
<%- end -%>
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