cookbook 'alphard-chef-newrelic-infrastructure', '= 0.1.0'
alphard-chef-newrelic-infrastructure (2) Versions 0.1.0 Follow1
Installs/Configures alphard-chef-newrelic-infrastructure
cookbook 'alphard-chef-newrelic-infrastructure', '= 0.1.0', :supermarket
knife supermarket install alphard-chef-newrelic-infrastructure
knife supermarket download alphard-chef-newrelic-infrastructure
Cookbook 'alphard-chef-alphard-chef-newrelic-infrastructurestructure'
This cookbook installs and configures the New Relic Infrastructure agent.
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.
agent
The agent
recipe will validate required attributes and do basic platform detection to decide which platform specific recipe to include.
agent_linux
The agent_linux
recipe:
- Adds the
alphard-chef-newrelic-infrastructure
package repository source - Installs|upgrades|removes
alphard-chef-newrelic-infrastructure
package - Sets up the
alphard-chef-newrelic-infrastructure
agent service - Sets the
alphard-chef-newrelic-infrastructure.yml
config file
agent_windows
(Available in the future)
Attributes
See attributes/defaults.rb
for default values.
-
node['alphard']['newrelic']['infrastructure']['license_key']
- Your New Relic license key. -
node['alphard']['newrelic']['infrastructure']['log_file']
- Override system log file location by providing Log path and file name. -
node['alphard']['newrelic']['infrastructure']['verbose']
- Log verbosity setting. Type: String -
node['alphard']['newrelic']['infrastructure']['proxy']
- Your proxy url if required. -
node['alphard']['newrelic']['infrastructure']['agent_action']
-alphard-chef-newrelic-infrastructure
package actions. Values:-
'install'
: (Default) Installs package. If'agent_version'
is specified, installs specific version. -
'upgrade'
: Installs package and/or ensures it's the latest version. -
'remove'
: Removes the package.
-
-
node['alphard']['newrelic']['infrastructure']['agent_version']
- Specifyalphard-chef-newrelic-infrastructure
package version to pin.
Usage
- Add the
alphard-chef-newrelic-infrastructure
cookbook dependency to yourmetadata.rb
orBerksfile
- Set
node['alphard']['newrelic']['infrastructure']['license_key']
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
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
alphard-chef-newrelic-infrastructure CHANGELOG
This file is used to list changes made in each version of the alphard-chef-newrelic-infrastructure cookbook.
0.1.0
- [your_name] - Initial release of alphard-chef-newrelic-infrastructure
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.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 passed this metric
Foodcritic Metric
0.1.0 passed this metric
License Metric
0.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 passed this metric
Version Tag Metric
0.1.0 passed this metric
0.1.0 failed this metric
0.1.0 passed this metric
Foodcritic Metric
0.1.0 passed this metric
License Metric
0.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 passed this metric
Version Tag Metric
0.1.0 passed this metric
0.1.0 passed this metric
0.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 passed this metric
Version Tag Metric
0.1.0 passed this metric
0.1.0 passed this metric
0.1.0 passed this metric
Version Tag Metric
0.1.0 passed this metric
0.1.0 passed this metric