Commit 3186f269 authored by Jonathan's avatar Jonathan Committed by GitHub
Browse files

Merge pull request #37 from ross-w/rw_fix_fixednum

Fix validate_re on guessed fact run
parents ffd35326 9c02f98b
......@@ -5,35 +5,35 @@ class freeradius::params {
case $::operatingsystem {
/RedHat|CentOS/: {
$fr_guessversion = $::operatingsystemmajrelease ? {
5 => 2,
6 => 2,
7 => 3,
default => 3,
5 => '2',
6 => '2',
7 => '3',
default => '3',
}
}
'Debian': {
$fr_guessversion = $::operatingsystemmajrelease ? {
6 => 2,
7 => 2,
8 => 2,
default => 2,
6 => '2',
7 => '2',
8 => '2',
default => '2',
}
}
'Fedora': {
$fr_guessversion = $::operatingsystemmajrelease ? {
21 => 3,
22 => 3,
23 => 3,
default => 3,
21 => '3',
22 => '3',
23 => '3',
default => '3',
}
}
'Ubuntu': {
$fr_guessversion = $::operatingsystemmajrelease ? {
'14.04' => 2,
'14.10' => 2,
'15.04' => 2,
'15.10' => 2,
default => 2,
'14.04' => '2',
'14.10' => '2',
'15.04' => '2',
'15.10' => '2',
default => '2',
}
}
}
......
Markdown is supported
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