summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2023-04-19 10:44:01 +0200
committerHendrik Jäger <gitcommit@henk.geekmail.org>2023-04-19 10:44:01 +0200
commitb00c86a4c2a0af3462f46e9e2b7df51cb5650676 (patch)
treeef0e29786a8f6da24e133a7c066d26ee2d4b0d2c
parent8e4a3f2421e0357b134752579ff60f17dfeb20cd (diff)
feat: also deploy exceptions to violations
-rw-r--r--manifests/init.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 96a09a4..71e6f88 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -19,6 +19,12 @@ class logcheck (
recurse => remote,
replace => true,
;
+ '/etc/logcheck/violations.ignore.d/':
+ ensure => directory,
+ source => 'puppet:///modules/logcheck/etc/logcheck/violations.ignore.d/',
+ recurse => remote,
+ replace => true,
+ ;
}
File <| tag == 'logcheck-logfile' |>
}