Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
puppet-freeradius
Commits
9ba16bc7
Commit
9ba16bc7
authored
Feb 01, 2016
by
Jonathan Gazeley
Browse files
Take out FR2 support for clients.conf
parent
00d4297c
Changes
4
Hide whitespace changes
Inline
Side-by-side
manifests/client.pp
View file @
9ba16bc7
...
...
@@ -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
],
}
...
...
manifests/statusclient.pp
View file @
9ba16bc7
...
...
@@ -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
],
}
...
...
templates/client.conf.
fr3.
erb
→
templates/client.conf.erb
View file @
9ba16bc7
File moved
templates/client.conf.fr2.erb
deleted
100644 → 0
View file @
00d4297c
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
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment