Skip to content

Commit

Permalink
Missing $ on facts ?
Browse files Browse the repository at this point in the history
  • Loading branch information
deligatedgeek authored and djjudas21 committed Oct 25, 2024
1 parent 46977b0 commit acf08d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -92,22 +92,22 @@
$fr_raddbdir = "\${sysconfdir}/raddb"
}
'Debian': {
$fr_basepath = facts['os']['release']['major'] ? {
$fr_basepath = $facts['os']['release']['major'] ? {
'9' => '/etc/freeradius/3.0',
'10' => '/etc/freeradius/3.0',
'11' => '/etc/freeradius/3.0',
'16.04' => '/etc/freeradius/3.0',
'buster/sid' => '/etc/freeradius/3.0',
'18.04' => '/etc/freeradius/3.0',
'20.04' => '/etc/freeradius/3.0',
'22.04' => '/etc/freeradius/3.0',
'24.04' => '/etc/freeradius/3.0',
default => '/etc/freeradius',
}
$fr_raddbdir = facts['os']['release']['major'] ? {
$fr_raddbdir = $facts['os']['release']['major'] ? {
'9' => "\${sysconfdir}/freeradius/3.0",
'10' => "\${sysconfdir}/freeradius/3.0",
'11' => "\${sysconfdir}/freeradius/3.0",
'16.04' => "\${sysconfdir}/freeradius/3.0",
'buster/sid' => "\${sysconfdir}/freeradius/3.0",
'18.04' => "\${sysconfdir}/freeradius/3.0",
'20.04' => "\${sysconfdir}/freeradius/3.0",
'22.04' => "\${sysconfdir}/freeradius/3.0",
Expand Down

0 comments on commit acf08d6

Please sign in to comment.