Skip to content
Snippets Groups Projects
Commit 7f4a69b2 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Template FreeRADIUS user and group to work on other distros

parent 8afa66a5
No related branches found
No related tags found
No related merge requests found
......@@ -29,4 +29,10 @@ class freeradius::params {
default => 'radiusd',
}
# FreeRADIUS group
$fr_group = $::osfamily ? {
'RedHat' => 'radiusd',
'Debian' => 'freerad',
default => 'radiusd',
}
}
......@@ -168,8 +168,8 @@ pidfile = ${run_dir}/${name}.pid
# It will join all groups where "user" is a member. This can allow
# for some finer-grained access controls.
#
user = radiusd
group = radiusd
user = <%= @fr_user%>
group = <%= @fr_group%>
# panic_action: Command to execute if the server dies unexpectedly.
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment