aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/puppet/manifests/init.pp11
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/puppet/manifests/init.pp b/modules/puppet/manifests/init.pp
index 641f5588..85870cdd 100644
--- a/modules/puppet/manifests/init.pp
+++ b/modules/puppet/manifests/init.pp
@@ -58,7 +58,14 @@ class puppet {
group => root,
mode => 644,
content => template("puppet/tagmail.conf"),
- }
-
+ }
+
+ tidy { "/var/lib/puppet/reports":
+ age => "1m",
+ matches => "*.yaml",
+ recurse => true,
+ type => "mtime",
+ }
+
}
}