Skip to content

Commit

Permalink
Support a customized (per-host) logrotate file
Browse files Browse the repository at this point in the history
  • Loading branch information
Alban Peignier committed Mar 23, 2012
1 parent 2e9f31e commit e1e04f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion files/apache2.logrotate
@@ -1,7 +1,7 @@
/var/log/apache2/*.log { /var/log/apache2/*.log {
daily daily
missingok missingok
rotate 1 rotate 3
compress compress
delaycompress delaycompress
notifempty notifempty
Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Expand Up @@ -27,7 +27,7 @@


# reduce apache2 log storage # reduce apache2 log storage
file { "/etc/logrotate.d/apache2": file { "/etc/logrotate.d/apache2":
source => "puppet:///apache2/apache2.logrotate", source => ["puppet:///files/apache2/apache2.logrotate.${fqdn}", "puppet:///apache2/apache2.logrotate"],
require => Package[apache2] require => Package[apache2]
} }


Expand Down

0 comments on commit e1e04f0

Please sign in to comment.