summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-07-09 12:18:21 -0700
committerelijah <elijah@riseup.net>2015-07-09 12:18:21 -0700
commit2d50141b8b0b223e3b437ff3bda0dd2dc7a64ef5 (patch)
treeb70ec2d4723400a9796fee726024d131384f25f3 /puppet/modules/site_config
parent1e872b71382f94f9c2d63ccbcaa43ca7d6741b42 (diff)
parentec24733308676d6822aaeaae6c17b042f7e2bf14 (diff)
Merge branch 'develop' of ssh://leap.se/leap_platform into develop
Diffstat (limited to 'puppet/modules/site_config')
-rw-r--r--puppet/modules/site_config/manifests/remove_files.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/puppet/modules/site_config/manifests/remove_files.pp b/puppet/modules/site_config/manifests/remove_files.pp
index 3f46659c..b339e6af 100644
--- a/puppet/modules/site_config/manifests/remove_files.pp
+++ b/puppet/modules/site_config/manifests/remove_files.pp
@@ -27,6 +27,10 @@ class site_config::remove_files {
path => '/var/log/',
recurse => true,
matches => 'leap_mx*';
+ 'leap_mx_rotate':
+ path => '/var/log/leap/',
+ recurse => true,
+ matches => [ 'mx.log.[0-9]', 'mx.log.[0-9]?', 'mx.log.[6-9]?gz'];
'/srv/leap/webapp/public/provider.json':;
'/srv/leap/couchdb/designs/tmp_users':
recurse => true,