Commit 9ad6d44a authored by Jon Spriggs's avatar Jon Spriggs
Browse files

Control-socket must hold uid/gid variables rather than strings.

To achieve this, we move control-socket to a template using the strings.
parent cc3a692b
......@@ -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'),
}
}
......
......@@ -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.
......
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