Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
puppet-freeradius
Commits
8afa66a5
Commit
8afa66a5
authored
Oct 29, 2014
by
Jonathan Gazeley
Browse files
radiusd.conf is now templated and supports a couple of configurable
options
parent
ff82ad50
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifests/init.pp
View file @
8afa66a5
# 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
],
}
...
...
fil
es/radiusd.conf
→
templat
es/radiusd.conf
.erb
View file @
8afa66a5
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment