cookbook 'alphard-chef-newrelic', '= 0.5.2'
alphard-chef-newrelic (6) Versions 0.5.2 Follow0
Installs/Configures New Relic agents
cookbook 'alphard-chef-newrelic', '= 0.5.2', :supermarket
knife supermarket install alphard-chef-newrelic
knife supermarket download alphard-chef-newrelic
Cookbook 'alphard-chef-newrelic'
This cookbook installs and configures New Relic agents.
Requirements
Platforms
- 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
- Chef 12+
Cookbooks
- none
Recipes
default
Include the default recipe to install and configure the New Relic infrastructure agent.
default
The default
recipe will validate required attributes and do basic platform detection to decide which platform specific recipe to include.
linux
The linux
recipe:
- Adds the
newrelic-infra
package repository source - Installs|upgrades|removes
newrelic-infra
package - Sets up the
newrelic-infra
agent service - Sets the
newrelic-infra.yml
config file
Attributes
See attributes/default.rb
for default values.
-
node['alphard']['newrelic']['license']
- Your New Relic license key.
Infra
-
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']
- Specifynewrelic-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
Java
- TODO
Usage
- Add the
alphard-chef-newrelic
cookbook dependency to yourmetadata.rb
orBerksfile
- Set
node['alphard']['newrelic']['infra']['license']
attribute with your New Relic license key - Include
default
recipe or add it to your run list
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License
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
http://www.apache.org/licenses/LICENSE-2.0
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.
Authors
- Frédéric Nowak - frederic.nowak@hydra-technologies.net
Dependent cookbooks
apt >= 0.0.0 |
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.
0.1.0
- [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.2 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.2 passed this metric
Foodcritic Metric
0.5.2 passed this metric
License Metric
0.5.2 passed this metric
No Binaries Metric
0.5.2 passed this metric
Testing File Metric
0.5.2 passed this metric
Version Tag Metric
0.5.2 passed this metric
0.5.2 failed this metric
0.5.2 passed this metric
Foodcritic Metric
0.5.2 passed this metric
License Metric
0.5.2 passed this metric
No Binaries Metric
0.5.2 passed this metric
Testing File Metric
0.5.2 passed this metric
Version Tag Metric
0.5.2 passed this metric
0.5.2 passed this metric
0.5.2 passed this metric
No Binaries Metric
0.5.2 passed this metric
Testing File Metric
0.5.2 passed this metric
Version Tag Metric
0.5.2 passed this metric
0.5.2 passed this metric
0.5.2 passed this metric
Version Tag Metric
0.5.2 passed this metric
0.5.2 passed this metric