Commit 9ba16bc7 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Take out FR2 support for clients.conf

parent 00d4297c
......@@ -39,7 +39,7 @@ define freeradius::client (
mode => '0640',
owner => 'root',
group => $fr_group,
content => template("freeradius/client.conf.fr${fr_version}.erb"),
content => template('freeradius/client.conf.erb'),
require => [File["${fr_basepath}/clients.d"], Group[$fr_group]],
notify => Service[$fr_service],
}
......
......@@ -32,7 +32,7 @@ define freeradius::statusclient (
mode => '0640',
owner => 'root',
group => $fr_group,
content => template("freeradius/client.conf.fr${fr_version}.erb"),
content => template('freeradius/client.conf.erb'),
require => [File["${fr_basepath}/clients.d"], Package[$fr_package], Group[$fr_group]],
notify => Service[$fr_service],
}
......
client <%= @shortname %> {
<% if @ip %>ipaddr = <%= @ip %><% end %>
<% if @ip6 %>ipv6addr = <%= @ip6 %><% end %>
<% if @netmask %>netmask = <%= @netmask %><% end %>
shortname = <%= @shortname %>
secret = "<%= @secret %>"
<% if @virtual_server %>virtual_server = <%= @virtual_server %><% end %>
<% if @nastype %>nastype = <%= @nastype %><% end %>
require_message_authenticator = no
}
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