Commit 8afa66a5 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

radiusd.conf is now templated and supports a couple of configurable

options
parent ff82ad50
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
# Base class to install FreeRADIUS
class freeradius (
  $control_socket = false,
  $max_servers    = '4096',
  $max_requests   = '4096',
) inherits freeradius::params {

  include samba
@@ -10,7 +12,7 @@ class freeradius (
    mode    => '0640',
    owner   => 'root',
    group   => 'radiusd',
    source  => 'puppet:///modules/freeradius/radiusd.conf',
    content => template('freeradius/radiusd.conf.erb'),
    require => Package[$fr_package],
    notify  => Service[$fr_service],
  }
+2 −5
Original line number Diff line number Diff line
@@ -258,10 +258,7 @@ cleanup_delay = 5
#
#  Useful range of values: 256 to infinity
#
max_requests = 2048

# JJ had his set to this
#max_requests = 2048576
max_requests = <%= @max_requests %>

#  listen: Make the server listen on a particular IP address, and send
#  replies out from that address. This directive is most useful for
@@ -660,7 +657,7 @@ thread pool {
	#
	#  For more information, see 'max_request_time', above.
	#
	max_servers = 650
	max_servers = <%= @max_servers %>

	#  Server-pool size regulation.  Rather than making you guess
	#  how many servers you need, FreeRADIUS dynamically adapts to