Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
puppet-freeradius
Commits
a8a8a811
Unverified
Commit
a8a8a811
authored
Oct 30, 2019
by
Jonathan
Committed by
GitHub
Oct 30, 2019
Browse files
Merge pull request #133 from amateo/fix_data_check
Fix parameters checks in various definitions:
parents
ecd6f8d0
5d441f15
Changes
5
Hide whitespace changes
Inline
Side-by-side
manifests/client.pp
View file @
a8a8a811
...
...
@@ -4,10 +4,10 @@ define freeradius::client (
Optional
[
String
]
$shortname
=
$title
,
Optional
[
String
]
$ip
=
undef
,
Optional
[
String
]
$ip6
=
undef
,
Enum
[
'*'
,
'udp'
,
'tcp'
]
$proto
=
'*'
,
Optional
[
Enum
[
'*'
,
'udp'
,
'tcp'
]
]
$proto
=
'*'
,
Freeradius
::
Boolean
$require_message_authenticator
=
'no'
,
Optional
[
String
]
$virtual_server
=
undef
,
Enum
[
'cisco'
,
'computone'
,
'livingston'
,
'juniper'
,
'max40xx'
,
'multitech'
,
'netserver'
,
'pathras'
,
'patton'
,
'portslave'
,
'tc'
,
'usrhiper'
,
'other'
]
$nastype
=
undef
,
Optional
[
Enum
[
'cisco'
,
'computone'
,
'livingston'
,
'juniper'
,
'max40xx'
,
'multitech'
,
'netserver'
,
'pathras'
,
'patton'
,
'portslave'
,
'tc'
,
'usrhiper'
,
'other'
]
]
$nastype
=
undef
,
Optional
[
String
]
$login
=
undef
,
Optional
[
String
]
$password
=
undef
,
Optional
[
String
]
$coa_server
=
undef
,
...
...
@@ -20,8 +20,8 @@ define freeradius::client (
Optional
[
String
]
$srcip
=
undef
,
Boolean
$firewall
=
false
,
Freeradius
::
Ensure
$ensure
=
present
,
Array
$attributes
=
[],
Optional
[
String
]
$huntgroups
=
undef
,
Variant
[
Array
,
Hash
,
String
]
$attributes
=
[],
Optional
[
String
]
$huntgroups
=
undef
,
)
{
$fr_package
=
$::freeradius::params::fr_package
$fr_service
=
$::freeradius::params::fr_service
...
...
manifests/home_server_pool.pp
View file @
a8a8a811
# Configure home server pools
define
freeradius::home_server_pool
(
String
$home_server
,
Variant
[
String
,
Array
[
String
]]
$home_server
,
Enum
[
'fail-over'
,
'load-balance'
,
'client-balance'
,
'client-port-balance'
,
'keyed-balance'
]
$type
=
'fail-over'
,
Optional
[
String
]
$virtual_server
=
undef
,
Optional
[
String
]
$fallback
=
undef
,
...
...
manifests/huntgroup.pp
View file @
a8a8a811
# Install FreeRADIUS huntgroups
define
freeradius::huntgroup
(
Freeradius
::
Ensure
$ensure
=
present
,
Optional
[
String
]
$huntgroup
=
$title
,
Optional
[
Array
[
String
]]
$conditions
=
[],
Optional
[
Integer
]
$order
=
50
,
Freeradius
::
Ensure
$ensure
=
present
,
Optional
[
String
]
$huntgroup
=
$title
,
Optional
[
Array
[
String
]]
$conditions
=
[],
Optional
[
Variant
[
String
,
Integer
]
]
$order
=
50
,
)
{
$fr_basepath
=
$::freeradius::params::fr_basepath
$fr_service
=
$::freeradius::params::fr_service
...
...
manifests/listen.pp
View file @
a8a8a811
...
...
@@ -6,7 +6,7 @@ define freeradius::listen (
Optional
[
String
]
$ip
=
undef
,
Optional
[
String
]
$ip6
=
undef
,
Integer
$port
=
0
,
String
$interface
=
undef
,
Optional
[
String
]
$interface
=
undef
,
Array
[
String
]
$clients
=
[],
Integer
$max_connections
=
16
,
Integer
$lifetime
=
0
,
...
...
manifests/sql.pp
View file @
a8a8a811
...
...
@@ -31,7 +31,7 @@ define freeradius::sql (
Optional
[
Integer
]
$pool_min
=
1
,
Optional
[
Integer
]
$pool_spare
=
1
,
Optional
[
Integer
]
$pool_idle_timeout
=
60
,
Optional
[
Float
]
$pool_connect_timeout
=
'
3.0
'
,
Optional
[
Float
]
$pool_connect_timeout
=
3.0
,
)
{
$fr_package
=
$::freeradius::params::fr_package
$fr_service
=
$::freeradius::params::fr_service
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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