Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
puppetpublic
base
Commits
af8ee9d5
Commit
af8ee9d5
authored
11 years ago
by
Russ Allbery
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
manifests/newsyslog.pp
+2
-1
2 additions, 1 deletion
manifests/newsyslog.pp
with
2 additions
and
1 deletion
manifests/newsyslog.pp
+
2
−
1
View file @
af8ee9d5
...
...
@@ -72,7 +72,7 @@ class base::newsyslog {
}
# Rotate btmp and wtmp monthly and save one year's worth of those files.
base::newsyslog::config
{
'w
m
tp'
:
base::newsyslog::config
{
'wt
m
p'
:
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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment