Commit cdaa5e28 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Cease managment of `logtosyslog` and `logtofile`, and prepare release 0.4.1

parent 807db91d
......@@ -487,6 +487,11 @@ development effort if the features aren't useful to my employer.
## Release Notes
### 0.4.1
* Cease management of custom logging modules `logtofile` and `logtosyslog` since it does not make sense to manage these globally
* Purge instantiation of unused modules
### 0.4.0
* Move control_socket into its own class and add parameters
......
linelog logtofile {
filename = ${logdir}/radiusd-%{%{Virtual-Server}:-DEFAULT}.log
auth = yes
# Default log message
format = ""
# Match packet type to blocks below
reference = "logtofile.%{%{reply:Packet-Type}:-format}"
logtofile {
Access-Accept = "%t : Login OK: [%{User-Name}] (from client %C cli %{Calling-Station-Id} port %{Packet-Dst-Port})"
Access-Reject = "%t : Login incorrect: [%{User-Name}] (from client %C cli %{Calling-Station-Id} port %{Packet-Dst-Port})"
}
}
linelog logtosyslog {
filename = syslog
syslog_facility = local5
# Default log message
format = ""
# Match packet type to blocks below
reference = "logtosyslog.%{%{reply:Packet-Type}:-format}"
logtosyslog {
Access-Accept = "%{Virtual-Server}: Login OK: [%{User-Name}] (from client %S cli %{Calling-Station-Id})"
Access-Reject = "%{Virtual-Server}: Login incorrect: [%{User-Name}] (from client %S cli %{Calling-Station-Id})"
}
}
......@@ -176,13 +176,6 @@ class freeradius (
source => 'puppet:///modules/freeradius/modules/detail.log',
}
::freeradius::module { 'logtosyslog':
source => 'puppet:///modules/freeradius/modules/logtosyslog',
}
::freeradius::module { 'logtofile':
source => 'puppet:///modules/freeradius/modules/logtofile',
}
# Syslog rules
if $syslog == true {
syslog::rule { 'radiusd-log':
......
{
"name": "jgazeley/freeradius",
"version": "0.4.0",
"version": "0.4.1",
"author": "jgazeley",
"summary": "Install and configure FreeRADIUS",
"license": "Apache-2.0",
......
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