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
e6cefed4
Commit
e6cefed4
authored
Mar 16, 2017
by
Jonathan Gazeley
Browse files
Change the fail to a warning if the FR version is not 3.x
parent
96058e56
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/init.pp
View file @
e6cefed4
...
...
@@ -19,7 +19,9 @@ class freeradius (
$
radacctdir
=
$f
reeradius
::
params
::
radacctdir
,
)
inherits
freeradius
::
params
{
validate_re($freeradius::fr_version, '^3', 'This module is only compatible with FreeRADIUS 3')
if $freeradius::fr_version !~ /^3/ {
notify { 'This module is only compatible with FreeRADIUS 3.': }
}
validate_re
($
log_destination
,
'^(files|syslog|stdout|stderr)$'
,
"
log_destination
value
($
{log_destination}
)
is
not
a
valid
value
"
)
...
...
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