Sha256: 1ff48e1a4f3628bfbe08a4b7a056a8fa42fc8c5bf7e3b29d9ea7ee0d4ba9f5cb

Contents?: true

Size: 374 Bytes

Versions: 44

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

44 entries across 44 versions & 1 rubygems

Version Path
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
cloud-mu-2.1.0beta cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-2.0.3 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-2.0.2 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-2.0.1 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-2.0.0.pre.beta3 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-2.0.0.pre.beta2 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-2.0.0.pre.beta1 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-2.0.0.pre.alpha9 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-2.0.0.pre.alpha8 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-2.0.0.pre.alpha7 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-2.0.0.pre.alpha6 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-2.0.0.pre.alpha5 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb
cloud-mu-2.0.0.pre.alpha4 cookbooks/mu-mongo/templates/default/mongo_logrotate.erb