Loading README.md +10 −0 Original line number Diff line number Diff line Loading @@ -284,6 +284,16 @@ you will see errors like "No connections available and at max connection limit". this to MORE than the number of threads means that there are more connections than necessary. Leave blank to set it to the same value as the number of threads. ##### `query_file` Default: `sql/${database}/dialup.conf`. Relative path to the file which contains your SQL queries. By default, points to the `dialup.conf` specific to your database engine, so leave this blank if you are using stock queries. If you need to use custom queries, it is recommended that you deploy your query file using `freeradius::script` to install the file into `/etc/raddb/scripts/custom_dialup.conf` and then set `query_file` to `scripts/custom_dialup.conf`. #### `freeradius::statusclient` Loading manifests/sql.pp +1 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ define freeradius::sql ( $login = 'radius', $radius_db = 'radius', $num_sql_socks = '${thread[pool].max_servers}', $query_file = 'sql/${database}/dialup.conf', ) { $fr_package = $::freeradius::params::fr_package $fr_service = $::freeradius::params::fr_service Loading templates/sql.conf.erb +1 −1 Original line number Diff line number Diff line Loading @@ -111,5 +111,5 @@ sql { nas_table = "nas" # Read driver-specific configuration $INCLUDE sql/${database}/dialup.conf $INCLUDE <%= @query_file %> } Loading
README.md +10 −0 Original line number Diff line number Diff line Loading @@ -284,6 +284,16 @@ you will see errors like "No connections available and at max connection limit". this to MORE than the number of threads means that there are more connections than necessary. Leave blank to set it to the same value as the number of threads. ##### `query_file` Default: `sql/${database}/dialup.conf`. Relative path to the file which contains your SQL queries. By default, points to the `dialup.conf` specific to your database engine, so leave this blank if you are using stock queries. If you need to use custom queries, it is recommended that you deploy your query file using `freeradius::script` to install the file into `/etc/raddb/scripts/custom_dialup.conf` and then set `query_file` to `scripts/custom_dialup.conf`. #### `freeradius::statusclient` Loading
manifests/sql.pp +1 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ define freeradius::sql ( $login = 'radius', $radius_db = 'radius', $num_sql_socks = '${thread[pool].max_servers}', $query_file = 'sql/${database}/dialup.conf', ) { $fr_package = $::freeradius::params::fr_package $fr_service = $::freeradius::params::fr_service Loading
templates/sql.conf.erb +1 −1 Original line number Diff line number Diff line Loading @@ -111,5 +111,5 @@ sql { nas_table = "nas" # Read driver-specific configuration $INCLUDE sql/${database}/dialup.conf $INCLUDE <%= @query_file %> }