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
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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

files/modules/logtofile

deleted100644 → 0
+0 −15
Original line number Diff line number Diff line
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})"
        }
}

files/modules/logtosyslog

deleted100644 → 0
+0 −15
Original line number Diff line number Diff line
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})"
        }
}
+0 −7
Original line number Diff line number Diff line
@@ -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':
+1 −1
Original line number Diff line number Diff line
{
  "name": "jgazeley/freeradius",
  "version": "0.4.0",
  "version": "0.4.1",
  "author": "jgazeley",
  "summary": "Install and configure FreeRADIUS",
  "license": "Apache-2.0",