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

riemann2 (6) Versions 0.3.3

Installs/Configures riemann, riemann-dash and rienann-tools

Policyfile
Berkshelf
Knife
cookbook 'riemann2', '= 0.3.3', :supermarket
cookbook 'riemann2', '= 0.3.3'
knife supermarket install riemann2
knife supermarket download riemann2
README
Dependencies
Quality 0%

Description

Installs/Configures riemann, riemann-dash and rienann-tools

Requirements

Platform:

  • ubuntu
  • debian
  • centos

Cookbooks:

  • java
  • apt
  • yum
  • ark
  • runit
  • build-essential

Attributes

  • node['riemann']['download']['url'] - Defaults to http://aphyr.com/riemann/.
  • node['riemann']['download']['checksum'] - Defaults to ec697519e80781dc478983de04204760f2790da1715acfd233b35da071be5455.
  • node['riemann']['download']['version'] - Defaults to 0.2.10.
  • node['riemann']['config']['bind'] - Defaults to 0.0.0.0.
  • node['riemann']['config']['port'] - Defaults to 5555.
  • node['riemann']['config']['ws-port'] - Defaults to 5556.
  • node['riemann']['config']['userfile'] - Defaults to /usr/local/riemann/etc/user.config.
  • node['riemann']['system']['user'] - Defaults to riemann.
  • node['riemann']['system']['group'] - Defaults to riemann.
  • node['riemann']['system']['home_dir'] - Defaults to /usr/local/riemann.
  • node['java']['jdk_version'] - Defaults to 8.
  • node['java']['install_flavor'] - Defaults to oracle.
  • node['java']['oracle']['accept_oracle_download_terms'] - Defaults to true.

Recipes

  • riemann2::default - creating user and group, included in the server and dash recipes
  • riemann2::server - installs riemann server, setting 2 config files => default ( riemann.conf ) and user.conf, for custumisations
  • riemann2::dash - install riemann-dash with config.rb and config.json from templates
  • riemann2::tools - installs riemann-tools

riemann2::default

Configure user and group for riemann-servie and riemann-dash

riemann2::server

Installs riemann-server with /usr/local/riemann/etc/user.config for manual changes to rieman-server.

TODO:

  • add temlate riemann-chef.config to include configuration from the cookbook.

riemann2::dash

Installs riemann-dash with config.rb and config.json

TODO:

  • add dynamic variables to the config files

riemann2::tools

Installs riemann-tools.

Using the chef ruby

Resources

  • riemann2_check - This creates and destroy the riemann-health service.

riemann2_check

This creates and destroy the riemann-health service.

Actions

  • [:nothing]: Default action.
  • create: Create the riemann-health service.
  • destroy: Destroy the riemann-health service.
  • nothing:
  • start:

Attribute Parameters

  • check_name:

Examples

# An example of my awesome service
riemann2::check "health" do
  action :create
end

License and Maintainer

Maintainer:: Alex Shadrin. (alex@shdlabs.com)
Source:: https://github.com/alexshd/chef-riemann2.git

License:: Apache 2.0

Dependent cookbooks

java >= 0.0.0
apt >= 0.0.0
yum >= 0.0.0
ark >= 0.0.0
runit >= 0.0.0
build-essential >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

0.3.3 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/44205ffc2964aa768f3e4c21/riemann2/recipes/server.rb:17
FC016: LWRP does not declare a default action: /tmp/cook/44205ffc2964aa768f3e4c21/riemann2/resources/check.rb:1
FC019: Access node attributes in a consistent manner: /tmp/cook/44205ffc2964aa768f3e4c21/riemann2/recipes/server.rb:17