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
e08f212c
Unverified
Commit
e08f212c
authored
Apr 16, 2021
by
Jonathan
Committed by
GitHub
Apr 16, 2021
Browse files
Merge pull request #151 from bowdoincollege/parameterize_syslog_facility
parameterize syslog_facility
parents
04d0da49
d25283b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
e08f212c
...
...
@@ -130,6 +130,9 @@ Add the radius user to the winbind privileged group. You must install winbind se
##### `log_destination`
Configure destination of log messages. Valid values are
`files`
,
`syslog`
,
`stdout`
and
`stderr`
. Default:
`files`
.
##### `syslog_facility`
Configure which syslog facility to use when
`log_destination`
is set to
`syslog`
. Default:
`daemon`
.
##### `syslog`
Add a syslog rule (using the
`saz/rsyslog`
module). Default:
`false`
.
...
...
manifests/init.pp
View file @
e08f212c
...
...
@@ -15,6 +15,7 @@ class freeradius (
Boolean
$winbind_support
=
false
,
String
$log_destination
=
'files'
,
Boolean
$syslog
=
false
,
String
$syslog_facility
=
'daemon'
,
Freeradius
::
Boolean
$log_auth
=
'no'
,
Boolean
$preserve_mods
=
true
,
Boolean
$correct_escapes
=
true
,
...
...
templates/radiusd.conf.erb
View file @
e08f212c
...
...
@@ -327,7 +327,7 @@ log {
# The exact values permitted here are OS-dependent. You probably
# don't want to change this.
#
syslog_facility =
daemon
syslog_facility =
<%=
@syslog_facility
%>
# Log the full User-Name attribute, as it was found in the request.
#
...
...
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