summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/modules/sunet/templates/dockerhost/logrotate_docker-containers.erb
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-03-06 09:41:00 +0100
committerLeif Johansson <leifj@sunet.se>2015-03-06 09:41:00 +0100
commitd0f8b25c768e1ed70e05b301868bf4527b6e9fb4 (patch)
tree5fc19da7b6ee258104888582239257051d68bdaa /global/overlay/etc/puppet/modules/sunet/templates/dockerhost/logrotate_docker-containers.erb
parentc2a8dcb2af31d640ffbfb3cf3f18d0c643a949f0 (diff)
sunet dockerhost stolen from eduid
Diffstat (limited to 'global/overlay/etc/puppet/modules/sunet/templates/dockerhost/logrotate_docker-containers.erb')
-rw-r--r--global/overlay/etc/puppet/modules/sunet/templates/dockerhost/logrotate_docker-containers.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/modules/sunet/templates/dockerhost/logrotate_docker-containers.erb b/global/overlay/etc/puppet/modules/sunet/templates/dockerhost/logrotate_docker-containers.erb
new file mode 100644
index 0000000..6cf5fe9
--- /dev/null
+++ b/global/overlay/etc/puppet/modules/sunet/templates/dockerhost/logrotate_docker-containers.erb
@@ -0,0 +1,7 @@
+/var/lib/docker/containers/*/*.log {
+ rotate 7
+ daily
+ compress
+ delaycompress
+ copytruncate
+}