Skip to content

Commit

Permalink
Bugfix cannot reassign variable fr_service
Browse files Browse the repository at this point in the history
Bugfix cannot reassign variable fr_service
Bugfix unknown variable in ldap module
  • Loading branch information
jorhett committed Sep 8, 2024
1 parent 738232d commit 77c6ce8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/module/ldap.pp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
# 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,
}
Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
}

# 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,
Expand Down

0 comments on commit 77c6ce8

Please sign in to comment.