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
501941dc
Unverified
Commit
501941dc
authored
Jan 28, 2021
by
Jonathan
Committed by
GitHub
Jan 28, 2021
Browse files
Merge pull request #146 from steadramon/homeservertimeout
Add support for homeserver check_timeout
parents
71f07da9
28aa5acb
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifests/home_server.pp
View file @
501941dc
...
...
@@ -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 @
501941dc
...
...
@@ -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