Commit db72de1f authored by Jonathan's avatar Jonathan
Browse files

Merge pull request #12 from JonTheNiceGuy/control-socket

Control-socket must hold uid/gid variables rather than strings.
parents 608e4eaa 9ad6d44a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ class freeradius (
  # Install a couple of virtual servers needed on all FR installations
  if $control_socket == true {
    freeradius::site { 'control-socket':
      source  => 'puppet:///modules/freeradius/sites-enabled/control-socket',
      source => template('freeradius/sites-enabled/control-socket.erb'),
    }
  }

+2 −2
Original line number Diff line number Diff line
@@ -53,12 +53,12 @@ listen {
	#
	#  Name of user that is allowed to connect to the control socket.
	#
	uid = radiusd
	uid = <%= @fr_user %>

	#
	#  Name of group that is allowed to connect to the control socket.
	#
	gid = radiusd
	gid = <%= @fr_group %>

	#
	#  Access mode.