Skip to content
Snippets Groups Projects
Commit 0091c890 authored by Angel L. Mateo's avatar Angel L. Mateo
Browse files

Deprecate freeradius::module::huntgroup

There is a duplicate with freeradius::huntgroup
parent 02348f75
No related branches found
No related tags found
No related merge requests found
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
define freeradius::module::huntgroup ( define freeradius::module::huntgroup (
Variant[String,Array] $conditions, Variant[String,Array] $conditions,
Variant[String,Integer] $order = 50, Variant[String,Integer] $order = 50,
String $huntgroup = 'huntgroup', Optional[String] $huntgroup = undef,
) { ) {
concat::fragment {"Huntgroup ${name}": warning('Use of freeradius::module::huntgroup is deprecated. Use freeradius::huntgroup instead')
target => $huntgroup,
freeradius::huntgroup {$name:
conditions => $conditions,
order => $order, order => $order,
content => template('freeradius/huntgroup.erb'),
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment