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
55ec473b
Commit
55ec473b
authored
Dec 02, 2015
by
Jonathan Gazeley
Browse files
Switch to use saz/rsyslog instead of jgazeley/syslog to manage syslog rules
parent
1ddb8a50
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
55ec473b
...
...
@@ -90,7 +90,7 @@ Install wpa_supplicant utility. Default: `false`
Add the radius user to the winbind privileged group. You must install winbind separately. Default:
`false`
.
##### `syslog`
Add a syslog rule (using the
`
jgazeley/
syslog`
module). Default:
`false`
.
Add a syslog rule (using the
`
saz/r
syslog`
module). Default:
`false`
.
```
puppet
class
{
'freeradius'
:
...
...
manifests/init.pp
View file @
55ec473b
...
...
@@ -211,9 +211,8 @@ class freeradius (
# Syslog rules
if $syslog == true {
syslog::rule { '
radiusd
-
log
':
command => "if \$programname == \'
radiusd
\
' then ${freeradius::fr_logpath}/radius.log\n&~",
order => '
12
',
rsyslog::snippet { '
12
-
radiusd
-
log
':
content => "if \$programname == \'
radiusd
\
' then ${freeradius::fr_logpath}/radius.log\n&~",
}
}
...
...
metadata.json
View file @
55ec473b
...
...
@@ -36,8 +36,8 @@
"version_range"
:
">=1.0.0 <2.0.0"
},
{
"name"
:
"
jgazeley/
syslog"
,
"version_range"
:
">=
0.1
.0"
"name"
:
"
saz/r
syslog"
,
"version_range"
:
">=
3.0
.0"
},
{
"name"
:
"rodjek/logrotate"
,
...
...
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