Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

log_rotations (2) Versions 0.0.1

Rotates logs

Policyfile
Berkshelf
Knife
cookbook 'log_rotations', '= 0.0.1', :supermarket
cookbook 'log_rotations', '= 0.0.1'
knife supermarket install log_rotations
knife supermarket download log_rotations
README
Dependencies
Quality -%

LogRotations

This cookbook provides an extremely simple way to create log rotations via
attributes. It depends on the logrotate cookbook. Simple example:

override_attributes(
  :log_rotations => [
    {:name => 'chef-client', :path => '/var/log/chef/client.log'},
    {:name => 'nginx', :path => '/var/log/nginx/access.log', :frequency => 'daily'}
  ]
)

Useful keys within the hash:

  • name - required
  • path - required
  • frequency - defaults to 'weekly'
  • rotate - defaults to 30
  • create - defaults to '644 root root'

Cookbook Info

Repo: https://github.com/chrisroberts/cookbook-log_rotations

Dependent cookbooks

logrotate >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found