summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/manifests/logrotate.pp
blob: e1039d4937b21c2f56600833be145da13da235f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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' ]
  }

}