Skip to content
Snippets Groups Projects
Commit 65327dc1 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Change order of code sample to match other sections

parent a1634a27
Branches
Tags 6.0.8
No related merge requests found
......@@ -245,6 +245,16 @@ Configure SQL connections. You can define multiple database connections by
invoking this resource multiple times. If you are using MySQL, don't forget to
also set `mysql_support => true` in the base `freeradius` class.
```puppet
freeradius::sql { 'mydatabase':
database => 'mysql',
server => '192.168.0.1',
login => 'radius',
password => 'topsecret',
radius_db => 'radius',
}
```
##### `database`
Default: `undef`. Required. Specify which FreeRADIUS database driver to use. Choose one of `mysql`, `mssql`, `oracle`, `postgresql`
......@@ -274,15 +284,6 @@ 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.
```puppet
freeradius::sql { 'mydatabase':
database => 'mysql',
server => '192.168.0.1',
login => 'radius',
password => 'topsecret',
radius_db => 'radius',
}
```
#### `freeradius::statusclient`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment