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

netuitive (14) Versions 0.11.1

Installs/Configures netuitive/metricly

Policyfile
Berkshelf
Knife
cookbook 'netuitive', '= 0.11.1', :supermarket
cookbook 'netuitive', '= 0.11.1'
knife supermarket install netuitive
knife supermarket download netuitive
README
Dependencies
Changelog
Quality 50%

Netuitive Cookbook (Chef)

Build Status Join the chat at https://gitter.im/Netuitive/chef-netuitive License

A cookbook to automate the installataion and configuration of the Netuitive Linux agent. For more
information on the Netuitive Linux Agent, see the help docs or contact Netuitive support at support@netuitive.com.

This cookbook is meant to be consumed by wrapper cookbooks such as this: wrapper cookbook

Attributes

Key Type Description Default
node['netuitive']['version'] string The version of the agent to install '0.2.9-98'
node['netuitive']['repo']['urls'] Hash A hash of platform specific repo urls { 'debian' => 'https://repos.app.netuitive.com/deb/', 'rhel' => 'https://repos.app.netuitive.com/rpm/noarch' }
node['netuitive']['repo']['keys'] Hash A hash of platform specific repo gpg key locations { 'debian' => 'https://repos.app.netuitive.com/netuitive.gpg', 'rhel' => 'https://repos.app.netuitive.com/RPM-GPG-KEY-netuitive' }
node['netuitive']['repo']['components'] Hash A hash of platform specific compnents { 'debian' => ['stable', 'main'] }
node['netuitive']['custom_collectors'] Hash A hash of collectors and options {}

Supported Platforms

Operating Systems

Official

Debian 8, Ubuntu 14.04 LTS, CentOS 6.5, and CentOS 7. Automated testing will be performed to ensure coverage of these platforms.

Unofficial

We will attempt to support as many linux distributions as possible and are hoping to expand the above list over time. Any EPEL based system that still supports yum will likely work and we are open to PRs to expands functionality.

Chef Versions

Chef 12.x

We support all versions of 12.x (even if we don't test it regularly).

Chef 11.x

We have written this cookbook using many of the nicer things of chef 12. We are open to community contributions to enable/improve the cookbook to support older versions of chef within reason. If you need chef 11 support in the mean time please see the feature/chef-11-compatibility branch.

Using the Netuitive Cookbook

Recipes

All recipes are simple wrappers around the lightweight resources and providers (LWRPs). We suggest using LWRPs over recipes as it will provide flexibility.

Name Description
netuitive::default Does nothing.
netuitive::add_repo Adds the Netuitive repo.
netuitive::configure Sets base and custom config.
netuitive::install_agent Installs the agent.

LWRPs

netuitive_configure

Actions

:create

Attributes
Name Description Default
api_key Your datasource's API key. 'CHANGE_ME_PLZ'
api_url The API url for netuitive. 'https://api.app.netuitive.com/ingest/infrastructure'
conf_path The path to your Netuitive agent config file. '/opt/netuitive-agent/conf/netuitive-agent.conf'
cookbook_template Specifies a different cookbook that the template can come from. 'netuitive'
relations An array of relations. []
source The name of the template. 'netuitive-agent.conf.erb'
statsd_enabled Whether to enable embedded statsd server. 'False'
tags An array of tags . []

netuitive_collector

Actions

:create

Attributes
Name Description Default
conf_path The path to your Netuitive agent config file. '/opt/netuitive-agent/conf/netuitive-agent.conf'
cookbook_template Specifies a different cookbook that the template can come from. 'netuitive'
collectors_dir Dir that custom collectors live in. '/opt/netuitive-agent/conf/collectors'
custom_collectors A hash of collectos and options to create. {}
source The name of the template. collector_generic.conf.erb

netuitive_install

Actions

:install

Attributes
Name Description Default
package_name The package's name. 'netuitive-agent'

netuitive_repo

Actions

:add

Attributes
Name Description Default
repo_components A hash of platform-specific components. nil
repo_keys A hash of platform-specific repository GPG keys. nil
repo_priority_pins A hash of platform-specific repo pins. nil
repo_urls A hash of platform-specific repository URLs. nil
use_epel_repos Bool value to enable epel repos (doesnt do anything on debian based repos). nil
version The version to pin. nil

Additional Information

License and Authors

This software is licensed under MIT license quoted below:

The MIT License (MIT)

Copyright (c) 2016 Ben Abrams

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Dependent cookbooks

apt >= 0.0.0
yum >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Change Log

This project adheres to Semantic Versioning.

0.11.0

  • adding some tools for making versioning and tagging easier
  • adding doc on chef version compatibility
  • restructure testing to allow multiple versions to be developed and tested

0.11.0 (cheff 11 branch)

  • adding some tools to make versioning easier
  • adding doc on chef version compatibility
  • chef 11 support (not compatible with 12 so its in its own branch)
  • restructure testing to allow multiple versions to be developed and tested

0.10.0

  • make sure that agent restarts when custom collector config changes (is added).

0.9.0

  • Update to latest Netuitive-agent (0.2.9-98)

0.8.0

  • cleanup deprecated code

0.7.0

  • Update to latest Netuitive-agent (0.2.8-97)

0.6.0

  • Update to latest Netuitive-agent (0.2.7-96)

0.4.0

  • Update to latest Netuitive-agent (0.2.6-95)
  • Update default netuitive-agent.conf template

0.3.1

Fixed

  • bad metadata for platforms supported

0.3.0

Added

  • Support for epel based systems

0.2.0

Added

  • foodcritic testing ### Changed
  • All LWRPs use use_inline_resources to address foodcritic ~FC057

0.1.1

  • Update to latest Netuitive-agent (0.2.3-70)

0.1.0

  • Initial release of netuitive

Foodcritic Metric
            

0.11.1 passed this metric

License Metric
            

0.11.1 failed this metric

netuitive does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.

No Binaries Metric
            

0.11.1 passed this metric

Version Tag Metric
            

0.11.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