Commit 62210576 authored by Jonathan's avatar Jonathan Committed by GitHub
Browse files

Merge pull request #70 from amateo/feature/fix_file

Fix freeradius::module::files
parents f3ecaa60 dfd405cd
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -8,8 +8,8 @@ define freeradius::module::files (
  Optional[String] $key                = undef,
  String $filename                     = "\${moddir}/authorize",
  Optional[String] $usersfile          = undef,
  String $acctusersfile       = "\${moddir}/accounting",
  String $preproxy_usersfile  = "\${moddir}/pre-proxy",
  Optional[String] $acctusersfile      = undef,
  Optional[String] $preproxy_usersfile = undef,
  Array[Hash] $users                   = [],
  Optional[String] $source             = undef,
  Optional[String] $content            = undef,
+4 −0
Original line number Diff line number Diff line
@@ -34,6 +34,10 @@ files <%= @name %> {

  #  These are accepted for backwards compatibility.
  #  They will be renamed in a future release.
<%- if @acctusersfile -%>
  acctusersfile = ${moddir}/accounting
<%- end -%>
<%- if @preproxy_usersfile -%>
  preproxy_usersfile = ${moddir}/pre-proxy
<%- end -%>
}