blob: bb8843bb27a9bdd6751f2953ac24a2596a5f25be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# configure couchdb logrotation
class site_couchdb::logrotate {
augeas {
'logrotate_bigcouch':
context => '/files/etc/logrotate.d/bigcouch/rule',
changes => [
'set file /opt/bigcouch/var/log/*.log', 'set rotate 7',
'set schedule daily', 'set compress compress',
'set missingok missingok', 'set ifempty notifempty',
'set copytruncate copytruncate' ]
}
}
|