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

cloudinsight-agent (1) Versions 0.1.0

Installs/Configures cloudinsight-agent components

Policyfile
Berkshelf
Knife
cookbook 'cloudinsight-agent', '~> 0.1.0', :supermarket
cookbook 'cloudinsight-agent', '~> 0.1.0'
knife supermarket install cloudinsight-agent
knife supermarket download cloudinsight-agent
README
Dependencies
Quality 17%

cloudinsight-agent Cookbook

Chef recipes to deploy cloudinsight-agent and configuration automatically.

Requirements

  • chef >= 10.14

Platforms

  • Amazon Linux
  • CentOS
  • Debian
  • RedHat
  • Scientific Linux
  • Ubuntu

Cookbooks

The following Opscode cookbooks are dependencies:

  • apt
  • chef_handler
  • yum

Recipes

default

Just a placeholder for now, when we have more shared components they will probably live there.

cloudinsight-agent

Installs the cloudinsight-agent on the target system, sets the LICENSE key, and start the service to report on the local system metrics

cloudinsight-sdk

Installs the language-specific libraries to interact with onestatsd. Not completed yet.

other

There are many other integration-specific recipes, that are meant to assist in deploying the correct agent configuration files and dependencies for a given integration.

Usage

  1. Add this cookbook to your chef server, either by installing with knife or by adding it to your Berksfile:

    cookbook 'cloudinsight-agent', '~> 0.1.0'
    
  2. Add your LICENSE Key as a node attribute via an environment or role or by declaring it in another cookbook at a higher precedence level.

  3. Associate the recipes with the desired roles, i.e. "role:example" should start the agent with "cloudinsight-agent::cloudinsight-agent". Here's an example role:

    name 'example'
    description 'Example role using cloudinsight-agent'
    default_attributes(
      'cloudinsight-agent' => {
        'license_key' => 'license_key',
      }
    )
    run_list %w(
      recipe[cloudinsight-agent::cloudinsight-agent]
    )
    

    And upload the role to the chef server, add your role to run_list.

      'run_list': [ 'role[example]' ]
    

    Or, you update the cloudinsight-agent specific attribute with your LICENSE key and upload the updated cookbook, then add cookbook to run_list:

      'run_list': [ 'recipe[cloudinsight-agent::cloudinsight-agent]'] 
    
  4. Wait until chef-client runs on the target node (or trigger chef-client manually if you're impatient)

Attribute

  • license_key - The Cloudinsight license key to associate your Agent's data with your organization.
  • hostname - Default node hostname. Force the hostname to whatever you want if you want.
  • tags - Set the host's tags.
  • log_level - Default INFO.

Dependent cookbooks

apt >= 0.0.0
chef_handler ~> 1.1.0
yum >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.0 failed this metric

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

Contributing File Metric
            

0.1.0 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.1.0 failed this metric

FC052: Metadata uses the deprecated "suggests" keyword: cloudinsight-agent/metadata.rb:24
FC064: Ensure issues_url is set in metadata: cloudinsight-agent/metadata.rb:1
FC065: Ensure source_url is set in metadata: cloudinsight-agent/metadata.rb:1
FC066: Ensure chef_version is set in metadata: cloudinsight-agent/metadata.rb:1
FC068: Ensure license is set in metadata: cloudinsight-agent/metadata.rb:1
FC069: Ensure standardized license defined in metadata: cloudinsight-agent/metadata.rb:1
FC120: Do not set the name property directly on a resource: cloudinsight-agent/recipes/repository.rb:28
FC121: Cookbook depends on cookbook made obsolete by Chef 14: cloudinsight-agent/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.0 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.1.0 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