Commit 53c8e5e5 authored by Ángel L. Mateo's avatar Ángel L. Mateo Committed by Angel L. Mateo
Browse files

Fix query_file path

$custom_query_file is initialized as undef, so this check implied
custom_query_file was always used.
parent ea2442f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ define freeradius::sql (
  $queryfile = "${fr_basepath}/sql/queries.conf"

  # Install custom query file
  if ($custom_query_file != '') {
  if ($custom_query_file and $custom_query_file != '') {
    $custom_query_file_path = "${fr_moduleconfigpath}/${name}-queries.conf"

    ::freeradius::config { "${name}-queries.conf":