Commit 20eefea6 authored by Jo Rhett's avatar Jo Rhett Committed by Jonathan
Browse files

Bugfix cannot reassign variable fr_service

Bugfix cannot reassign variable fr_service
Bugfix unknown variable in ldap module
parent 738232d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ define freeradius::module::ldap (
  # FR3.1 format server = 'ldap1.example.com'
  #              server = 'ldap2.example.com'
  #              server = 'ldap3.example.com'
  $serverconcatarray = $::freeradius_version ? {
  $serverconcatarray = $facts['freeradius_version'] ? {
    /^3\.0\./ => any2array(join($server, ',')),
    default   => $server,
  }
+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ class freeradius::params {
  }

  # Whether the FreeRADIUS init.d startup script has a status setting or not
  $fr_service = $facts['os']['family'] ? {
  $fr_service_has_status = $facts['os']['family'] ? {
    'RedHat' => true,
    'Debian' => true,
    default  => false,