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
# 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],
}
......
......@@ -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
......
Supports Markdown
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