Commit 7f4a69b2 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Template FreeRADIUS user and group to work on other distros

parent 8afa66a5
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -29,4 +29,10 @@ class freeradius::params {
    default  => 'radiusd',
  }

  # FreeRADIUS group
  $fr_group = $::osfamily ? {
    'RedHat' => 'radiusd',
    'Debian' => 'freerad',
    default  => 'radiusd',
  }
}
+2 −2
Original line number Diff line number Diff line
@@ -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.
#