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
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -3,11 +3,12 @@
define freeradius::module::huntgroup (
  Variant[String,Array] $conditions,
  Variant[String,Integer] $order     = 50,
  String $huntgroup                  = 'huntgroup',
  Optional[String] $huntgroup        = undef,
) {
  concat::fragment {"Huntgroup ${name}":
    target  => $huntgroup,
  warning('Use of freeradius::module::huntgroup is deprecated. Use freeradius::huntgroup instead')

  freeradius::huntgroup {$name:
    conditions => $conditions,
    order      => $order,
    content => template('freeradius/huntgroup.erb'),
  }
}