Commit 68ee5eb3 authored by Mårtensson Roger's avatar Mårtensson Roger
Browse files

Use correct OS Family.

parent a7d63e04
...@@ -86,19 +86,11 @@ class freeradius::params { ...@@ -86,19 +86,11 @@ class freeradius::params {
'Debian': { 'Debian': {
$fr_basepath = $::operatingsystemmajrelease ? { $fr_basepath = $::operatingsystemmajrelease ? {
'9' => '/etc/freeradius/3.0', '9' => '/etc/freeradius/3.0',
default => '/etc/freeradius',
}
$fr_raddbdir = $::operatingsystemmajrelease ? {
'9' => "\${sysconfdir}/freeradius/3.0",
default => "\${sysconfdir}/freeradius",
}
}
'Ubuntu': {
$fr_basepath = $::operatingsystemmajrelease ? {
'18.04' => '/etc/freeradius/3.0', '18.04' => '/etc/freeradius/3.0',
default => '/etc/freeradius', default => '/etc/freeradius',
} }
$fr_raddbdir = $::operatingsystemmajrelease ? { $fr_raddbdir = $::operatingsystemmajrelease ? {
'9' => "\${sysconfdir}/freeradius/3.0",
'18.04' => "\${sysconfdir}/freeradius/3.0", '18.04' => "\${sysconfdir}/freeradius/3.0",
default => "\${sysconfdir}/freeradius", default => "\${sysconfdir}/freeradius",
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment