Skip to content
Snippets Groups Projects
Commit af8ee9d5 authored by Russ Allbery's avatar Russ Allbery
Browse files

Fix name of the wtmp newsyslog.montly file

Also remove the old one for right now until the mistake is purged
everywhere.
parent 2d8834db
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ class base::newsyslog {
}
# Rotate btmp and wtmp monthly and save one year's worth of those files.
base::newsyslog::config { 'wmtp':
base::newsyslog::config { 'wtmp':
frequency => 'monthly',
log_owner => 'root',
log_group => 'utmp',
......@@ -80,6 +80,7 @@ class base::newsyslog {
logs => [ 'btmp', 'wtmp' ],
save_num => '12',
}
file { '/etc/newsyslog.monthly/wmtp': ensure => absent }
# Bad login attempt logging is only done if btmp exists. Ensure the file is
# present with the correct permissions.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment