aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2021-03-06 21:51:26 +0200
committerThomas Backlund <tmb@mageia.org>2021-03-06 21:51:26 +0200
commit8b17987190aa2137b44af003812b105c6cb2021a (patch)
tree4955d37a37045669862c04b69a54b329800f7f12 /modules
parent4f95b49124aa1519ea4e712c673c61922f518222 (diff)
downloadpuppet-8b17987190aa2137b44af003812b105c6cb2021a.tar
puppet-8b17987190aa2137b44af003812b105c6cb2021a.tar.gz
puppet-8b17987190aa2137b44af003812b105c6cb2021a.tar.bz2
puppet-8b17987190aa2137b44af003812b105c6cb2021a.tar.xz
puppet-8b17987190aa2137b44af003812b105c6cb2021a.zip
apache: logrotate daily on duvel
Diffstat (limited to 'modules')
-rw-r--r--modules/apache/templates/logrotate4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/apache/templates/logrotate b/modules/apache/templates/logrotate
index dec386fe..d440193f 100644
--- a/modules/apache/templates/logrotate
+++ b/modules/apache/templates/logrotate
@@ -1,6 +1,10 @@
/var/log/httpd/*_log /var/log/httpd/apache_runtime_status /var/log/httpd/ssl_mutex {
rotate <%= scope.lookupvar('apache::var::httpdlogs_rotate') %>
+<% if @hostname == 'duvel' then %>
+ daily
+<% else %>
monthly
+<% end %>
missingok
notifempty
compress