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

chef-sar (1) Versions 0.0.1

Installs/Configures sar

Policyfile
Berkshelf
Knife
cookbook 'chef-sar', '~> 0.0.1', :supermarket
cookbook 'chef-sar', '~> 0.0.1'
knife supermarket install chef-sar
knife supermarket download chef-sar
README
Dependencies
Quality 17%

sar

Description

This cookbook installs sysstat, enables it and allows you to configure the frequency at which it collects statistics.

Attributes

node['sar']['enabled'] - If sysstat logging is enabled (Default: true)
node['sar']['sa1_options'] - Configure sa1_options for systat config (Default: '-S DISK')
node['sar']['sa2_options'] - Configure sa2_options for systat config (Default: '')
node['sar']['cron']['run_every_minutes'] - Sets time between statistic collection cron job (Default: 2)

Usage

Clone cookbook repository as sar

Somewhere in your recipe, include the sar recipe and add it as a dependency in your metadata.rb

metadata.rb
depends 'chef-sar'

your_recipe.rb
include_recipe 'chef-sar'

Platforms

This has been tested on Ubuntu but should work on Debian like systems and maybe others. If there is a need for this on another system, I'd be glad to implemenet functionality for this.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.0.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.0.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.0.1 failed this metric

FC053: Metadata uses the deprecated "recommends" keyword: chef-sar/metadata.rb:14
FC064: Ensure issues_url is set in metadata: chef-sar/metadata.rb:1
FC065: Ensure source_url is set in metadata: chef-sar/metadata.rb:1
FC066: Ensure chef_version is set in metadata: chef-sar/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chef-sar/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.0.1 passed this metric

Testing File Metric
            

0.0.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.0.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number