Unverified Commit e08f212c authored by Jonathan's avatar Jonathan Committed by GitHub
Browse files

Merge pull request #151 from bowdoincollege/parameterize_syslog_facility

parameterize syslog_facility
parents 04d0da49 d25283b3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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`.

+1 −0
Original line number Diff line number Diff line
@@ -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,
+1 −1
Original line number Diff line number Diff line
@@ -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.
	#