diff options
author | Thomas Backlund <tmb@mageia.org> | 2021-03-06 21:51:26 +0200 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2021-03-06 21:51:26 +0200 |
commit | 8b17987190aa2137b44af003812b105c6cb2021a (patch) | |
tree | 4955d37a37045669862c04b69a54b329800f7f12 /modules | |
parent | 4f95b49124aa1519ea4e712c673c61922f518222 (diff) | |
download | puppet-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/logrotate | 4 |
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 |