summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/fileremoval.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/fileremoval.pp b/manifests/fileremoval.pp
new file mode 100644
index 0000000..11b07a4
--- /dev/null
+++ b/manifests/fileremoval.pp
@@ -0,0 +1,8 @@
1# == Define: logrotate::fileremoval
2#
3define logrotate::fileremoval ($file = $title) {
4 file { "/etc/logrotate.d/${file}":
5 ensure => absent,
6 }
7}
8