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
8a6dc6bf
Verified
Commit
8a6dc6bf
authored
8 years ago
by
Adam Lewenberg
Browse files
Options
Downloads
Patches
Plain Diff
move filtersyslog to its own base: class
parent
64c24066
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
NEWS
+3
-0
3 additions, 0 deletions
NEWS
files/filtersyslog/etc/filter-syslog.conf
+0
-0
0 additions, 0 deletions
files/filtersyslog/etc/filter-syslog.conf
manifests/filtersyslog.pp
+22
-0
22 additions, 0 deletions
manifests/filtersyslog.pp
manifests/newsyslog.pp
+6
-3
6 additions, 3 deletions
manifests/newsyslog.pp
with
31 additions
and
3 deletions
NEWS
+
3
−
0
View file @
8a6dc6bf
release/005.007 (unreleased)
[newsyslog] Pull out filter-syslog from newsyslog so filtersyslog can
be used separately from newsyslog. [adamhl]
[ssh] Change the method by which we specify a list of sunetids too
filter via filter-syslog. If you install this version of base you will
need to add to hiera the list of sunetids whose authentication failure
...
...
This diff is collapsed.
Click to expand it.
files/
new
syslog/etc/filter-syslog.conf
→
files/
filter
syslog/etc/filter-syslog.conf
+
0
−
0
View file @
8a6dc6bf
File moved
This diff is collapsed.
Click to expand it.
manifests/filtersyslog.pp
0 → 100644
+
22
−
0
View file @
8a6dc6bf
# Install filter-syslog, which we use for auditing system logs, and its
# basic configuration.
class
base::filtersyslog
{
# Install the filter-syslog package.
package
{
'filter-syslog'
:
ensure
=>
present
}
# Install the default filter-syslog configuration.
file
{
'/etc/filter-syslog.conf'
:
source
=>
'puppet:///modules/base/filtersyslog/etc/filter-syslog.conf'
;
'/etc/filter-syslog'
:
ensure
=>
directory
,
recurse
=>
true
,
purge
=>
true
,
}
}
This diff is collapsed.
Click to expand it.
manifests/newsyslog.pp
+
6
−
3
View file @
8a6dc6bf
...
...
@@ -4,9 +4,12 @@
# logs, and its basic configuration.
class
base::newsyslog
{
package
{
'filter-syslog'
:
ensure
=>
present
;
'newsyslog'
:
ensure
=>
present
;
# Install the basic filter-syslog system
include
base::filtersyslog
package
{
'newsyslog'
:
ensure
=>
present
;
}
# Disable logrotate, since otherwise it will fight with newsyslog. We could
...
...
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