summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-02-02 10:21:49 -0800
committerelijah <elijah@riseup.net>2016-02-02 10:21:49 -0800
commit45e81ca4abc81600998f11a5e74a565f545e6c84 (patch)
tree832044b8ca8eb14aa09aefcb78ed1a25f9f77200 /puppet/modules/site_config
parentedc9aa13f5ebb07f27e73fd4befc5fbbadfebc66 (diff)
finally fix leap-mx logging, for the last time, hopefully.
Diffstat (limited to 'puppet/modules/site_config')
-rw-r--r--puppet/modules/site_config/manifests/remove/files.pp7
1 files changed, 2 insertions, 5 deletions
diff --git a/puppet/modules/site_config/manifests/remove/files.pp b/puppet/modules/site_config/manifests/remove/files.pp
index 4f7aa6e6..3efcbf0f 100644
--- a/puppet/modules/site_config/manifests/remove/files.pp
+++ b/puppet/modules/site_config/manifests/remove/files.pp
@@ -15,6 +15,7 @@ class site_config::remove::files {
tidy {
'/etc/default/leap_mx':;
'/etc/logrotate.d/mx':;
+ '/etc/rsyslog.d/50-mx.conf':;
}
#
@@ -30,11 +31,7 @@ class site_config::remove::files {
'leap_mx':
path => '/var/log/',
recurse => true,
- matches => 'leap_mx*';
- 'mx':
- path => '/var/log/leap/',
- recurse => true,
- matches => 'mx.log*';
+ matches => ['leap_mx*', 'mx.log.[6-9](.gz)?', 'mx.log.[0-9][0-9](.gz)?'];
'/srv/leap/webapp/public/provider.json':;
'/srv/leap/couchdb/designs/tmp_users':
recurse => true,