Commit 55ec473b authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Switch to use saz/rsyslog instead of jgazeley/syslog to manage syslog rules

parent 1ddb8a50
......@@ -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/rsyslog` module). Default: `false`.
```puppet
class { 'freeradius':
......
......@@ -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&~",
}
}
......
......@@ -36,8 +36,8 @@
"version_range": ">=1.0.0 <2.0.0"
},
{
"name": "jgazeley/syslog",
"version_range": ">=0.1.0"
"name": "saz/rsyslog",
"version_range": ">=3.0.0"
},
{
"name": "rodjek/logrotate",
......
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