Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
puppet-freeradius
Commits
9c02f98b
Commit
9c02f98b
authored
Jun 16, 2016
by
Ross Williamson
Browse files
Fix validate_re on guessed fact run
parent
ffd35326
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/params.pp
View file @
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'
,
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment