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
28aa5acb
Commit
28aa5acb
authored
Jan 28, 2021
by
Paul
Browse files
Add support for homeserver check_timeout
parent
e1dec8c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifests/home_server.pp
View file @
28aa5acb
...
...
@@ -5,6 +5,7 @@ define freeradius::home_server (
Enum
[
'none'
,
'status-server'
,
'request'
]
$status_check
=
'none'
,
Enum
[
'auth'
,
'acct'
,
'auth+acct'
,
'coa'
]
$type
=
'auth'
,
Optional
[
Integer
]
$check_interval
=
undef
,
Optional
[
Integer
]
$check_timeout
=
undef
,
Optional
[
String
]
$ipaddr
=
undef
,
Optional
[
String
]
$ipv6addr
=
undef
,
Optional
[
Integer
]
$max_outstanding
=
undef
,
...
...
templates/home_server.erb
View file @
28aa5acb
...
...
@@ -39,6 +39,9 @@ home_server <%= @name %> {
<%
if
defined?
(
@check_interval
)
-%>
check_interval =
<%=
@check_interval
%>
<%
end
-%>
<%
if
defined?
(
@check_timeout
)
-%>
check_timeout =
<%=
@check_timeout
%>
<%
end
-%>
<%
if
defined?
(
@num_answers_to_alive
)
-%>
num_answers_to_alive =
<%=
@num_answers_to_alive
%>
<%
end
-%>
...
...
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