Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
puppet-freeradius
Commits
65327dc1
Commit
65327dc1
authored
Nov 11, 2014
by
Jonathan Gazeley
Browse files
Change order of code sample to match other sections
parent
a1634a27
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
65327dc1
...
...
@@ -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`
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment