aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2021-03-19 23:17:14 +0200
committerThomas Backlund <tmb@mageia.org>2021-03-19 23:17:14 +0200
commit6b96c4a1d6cb2058bfa91658412821e06ef61842 (patch)
tree3ec2c0d97e1f5c7292d791b23de1cc3478beae15 /modules
parente927d71990209847f8e2ab0ed1690d7783bf93b8 (diff)
downloadpuppet-6b96c4a1d6cb2058bfa91658412821e06ef61842.tar
puppet-6b96c4a1d6cb2058bfa91658412821e06ef61842.tar.gz
puppet-6b96c4a1d6cb2058bfa91658412821e06ef61842.tar.bz2
puppet-6b96c4a1d6cb2058bfa91658412821e06ef61842.tar.xz
puppet-6b96c4a1d6cb2058bfa91658412821e06ef61842.zip
apache: logrotate: keep 60 days of logs on duvel
Diffstat (limited to 'modules')
-rw-r--r--modules/apache/templates/logrotate3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/apache/templates/logrotate b/modules/apache/templates/logrotate
index d440193f..8efa7ace 100644
--- a/modules/apache/templates/logrotate
+++ b/modules/apache/templates/logrotate
@@ -1,8 +1,9 @@
/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 %>
+ rotate 60
daily
<% else %>
+ rotate <%= scope.lookupvar('apache::var::httpdlogs_rotate') %>
monthly
<% end %>
missingok