Sha256: 1ff48e1a4f3628bfbe08a4b7a056a8fa42fc8c5bf7e3b29d9ea7ee0d4ba9f5cb

Contents?: true

Size: 374 Bytes

Versions: 37

Compression:

Stored size: 374 Bytes

Contents

<%= node['mongodb']['log_dir'] %>/*.log {
        daily
        rotate 365
        compress
        dateext
        missingok
        notifempty
        sharedscripts
        copytruncate
        postrotate
                killall -SIGUSR1 mongod
                find <%= node['mongodb']['log_dir'] %> -type f -regex ".*\.\(log.[0-9].*-[0-9].*\)" -exec rm {} \;
endscript
}

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
cloud-mu-3.5.1 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.5.0 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.4.0 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.3.2 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.3.1 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.3.0 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.2.0 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.1.6 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.1.5 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.1.4 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.1.3 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.1.2 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.1.2beta2 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.1.1 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.1.0 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.0.2 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.0.1 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.0.0 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-3.0.0beta cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-2.0.4 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb