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


alphard-chef-newrelic (6) Versions 0.5.1

Installs/Configures New Relic agents

cookbook 'alphard-chef-newrelic', '= 0.5.1'
cookbook 'alphard-chef-newrelic', '= 0.5.1', :supermarket
knife supermarket install alphard-chef-newrelic
knife supermarket download alphard-chef-newrelic
Quality 89%

Cookbook Version License Build Status Coverage Status

Cookbook 'alphard-chef-newrelic'

This cookbook installs and configures New Relic agents.



  • RHEL
    • CentOS 7
    • CentOS 6
    • Amazon Linux (all versions)
  • Ubuntu
    • 16 Xenial
    • 14 Trusty
    • 12 Precise
  • Debian
    • 10 Buster
    • 9 Stretch
    • 8 Jessie
    • 7 Wheezy


  • Chef 12+


  • none



Include the default recipe to install and configure the New Relic infrastructure agent.


The default recipe will validate required attributes and do basic platform detection to decide which platform specific recipe to include.


The linux recipe:

  1. Adds the newrelic-infra package repository source
  2. Installs|upgrades|removes newrelic-infra package
  3. Sets up the newrelic-infra agent service
  4. Sets the newrelic-infra.yml config file


See attributes/default.rb for default values.

  • node['alphard']['newrelic']['license'] - Your New Relic license key.


  • node['alphard']['newrelic']['infra']['license'] - Your New Relic license key.
  • node['alphard']['newrelic']['infra']['action'] - newrelic-infra package actions. Values:
    • 'install': (Default) Installs package. If 'version' is specified, installs specific version.
    • 'upgrade': Installs package and/or ensures it's the latest version.
    • 'remove': Removes the package.
  • node['alphard']['newrelic']['infra']['version'] - Specify newrelic-infra package version to pin.
  • node['alphard']['newrelic']['infra']['configuration'] - A hash to add all newrelic.yml configuration file settings
  • node['alphard']['newrelic']['infra']['configuration']['verbose'] - Log verbosity setting. Type: String
  • node['alphard']['newrelic']['infra']['configuration']['proxy'] - Your proxy url if required.
  • node['alphard']['newrelic']['infra']['configuration']['log_file'] - Your log file path
  • node['alphard']['newrelic']['infra']['configuration']['display_name'] - Your infrastructure display name


  • TODO


  1. Add the alphard-chef-newrelic cookbook dependency to your metadata.rb or Berksfile
  2. Set node['alphard']['newrelic']['infra']['license'] attribute with your New Relic license key
  3. Include default recipe or add it to your run list


  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github


Copyright 2009-2016, Hydra Technologies, Inc

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

alphard-chef-newrelic CHANGELOG

This file is used to list changes made in each version of the alphard-chef-newrelic cookbook.


  • [your_name] - Initial release of alphard-chef-newrelic

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric

0.5.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.5.1 passed this metric

Foodcritic Metric

0.5.1 passed this metric

License Metric

0.5.1 passed this metric

No Binaries Metric

0.5.1 passed this metric

Publish Metric

0.5.1 passed this metric

Supported Platforms Metric

0.5.1 passed this metric

Testing File Metric

0.5.1 passed this metric

Version Tag Metric

0.5.1 passed this metric