This cookbook users logrotate cookbook to setup some logrotate jobs focused on rails applications, nginx and MariaDB.
logrotate
- logrotate cookbook
This cookbook is far from to be defined flexible, honestly.
To customize it (a little bit) check attributes/default.rb
.
Just include logrotate
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[logrotate]"
],
"logrotate": {
"global": {
"weekly": false,
"daily": true
}
}
}
This recipe is highly not complete, until it will be more completed it's not worth to contribute on it.
License: MIT
Authors:
Simone Dall'Angelo