From 65327dc13303d8af0afdb51ba02ce3d2d1366917 Mon Sep 17 00:00:00 2001 From: Jonathan Gazeley Date: Tue, 11 Nov 2014 17:02:44 +0000 Subject: [PATCH] Change order of code sample to match other sections --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 175500b4..8cce2076 100644 --- a/README.md +++ b/README.md @@ -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`