Commit d25283b3 authored by Jason Lavoie's avatar Jason Lavoie
Browse files

parameterize syslog_facility

parent 9d8c85b7
......@@ -130,6 +130,9 @@ Add the radius user to the winbind privileged group. You must install winbind se
##### `log_destination`
Configure destination of log messages. Valid values are `files`, `syslog`, `stdout` and `stderr`. Default: `files`.
##### `syslog_facility`
Configure which syslog facility to use when `log_destination` is set to `syslog`. Default: `daemon`.
##### `syslog`
Add a syslog rule (using the `saz/rsyslog` module). Default: `false`.
......
......@@ -15,6 +15,7 @@ class freeradius (
Boolean $winbind_support = false,
String $log_destination = 'files',
Boolean $syslog = false,
String $syslog_facility = 'daemon',
Freeradius::Boolean $log_auth = 'no',
Boolean $preserve_mods = true,
Boolean $correct_escapes = true,
......
......@@ -327,7 +327,7 @@ log {
# The exact values permitted here are OS-dependent. You probably
# don't want to change this.
#
syslog_facility = daemon
syslog_facility = <%= @syslog_facility %>
# Log the full User-Name attribute, as it was found in the request.
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment