Commit 9dc7b3eb authored by Angel L. Mateo's avatar Angel L. Mateo
Browse files

Fix conflict in huntgroups definition

The concat resource for huntgroups is already defined at init.pp
parent 0091c890
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -19,20 +19,4 @@ class freeradius::module::preprocess (
    ensure  => $ensure,
    content => template('freeradius/preprocess.erb'),
  }


  $huntgroup_path = $huntgroups ? {
    "\${moddir}/huntgroups" => "${fr_moduleconfigpath}/preprocess/huntgroups",
    default                 => $huntgroups,
  }

  concat {'huntgroup':
    ensure  => $ensure,
    path    => $huntgroup_path,
    owner   => 'root',
    group   => $fr_group,
    mode    => '0640',
    require => Freeradius::Module['preprocess'],
    notify  => Service[$fr_service],
  }
}