cookbook 'riemann2', '~> 0.3.7'
riemann2 (6) Versions 0.3.7 Follow1
Installs/Configures riemann, riemann-dash and rienann-tools
cookbook 'riemann2', '~> 0.3.7', :supermarket
knife supermarket install riemann2
knife supermarket download riemann2
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 tohttp://aphyr.com/riemann/. -
node['riemann']['download']['checksum']- Defaults toec697519e80781dc478983de04204760f2790da1715acfd233b35da071be5455. -
node['riemann']['download']['version']- Defaults to0.2.10. -
node['riemann']['config']['bind']- Defaults to0.0.0.0. -
node['riemann']['config']['port']- Defaults to5555. -
node['riemann']['config']['ws-port']- Defaults to5556. -
node['riemann']['config']['userfile']- Defaults to/usr/local/riemann/etc/user.config. -
node['riemann']['system']['user']- Defaults toriemann. -
node['riemann']['system']['group']- Defaults toriemann. -
node['riemann']['system']['home_dir']- Defaults to/usr/local/riemann. -
node['java']['jdk_version']- Defaults to8. -
node['java']['install_flavor']- Defaults tooracle. -
node['java']['oracle']['accept_oracle_download_terms']- Defaults totrue. -
node['riemann']['server']['ip']- Defaults to ``. -
node['riemann']['server']['ip']- Defaults to ``. -
node['riemann']['server']['port']- Defaults to ``.
Recipes
-
riemann2::infra - creating user and group, included in the
serveranddashrecipes - riemann2::server - installs riemann server, setting 2 config files => default ( riemann.conf ) and user.conf, for custumisations
-
riemann2::dash - install
riemann-dashwithconfig.rbandconfig.jsonfrom templates -
riemann2::tools - installs
riemann-tools
riemann2::infra
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.configto 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
- [:create]: Default action.
- create: Create the
riemann-healthservice. - destroy: Destroy the
riemann-healthservice. - nothing:
- restart:
Attribute Parameters
- check_name:
- server: Defaults to <code>"localhost"</code>.
- port: Defaults to <code>"5555"</code>.
- tags:
Examples
# riemann-health
riemann2::check "health" do
action :create
server node['riemann']['server']['ip']
port '5555'
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.
Collaborator Number Metric
0.3.7 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.3.7 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 contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.7 failed this metric
FC064: Ensure issues_url is set in metadata: riemann2/metadata.rb:1
FC066: Ensure chef_version is set in metadata: riemann2/metadata.rb:1
FC069: Ensure standardized license defined in metadata: riemann2/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: riemann2/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: riemann2/recipes/tools.rb:14
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.7 failed this metric
Failure: Cookbook should not contain binaries. Found:
riemann2/attributes/dash.rb
Testing File Metric
0.3.7 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 contain a TESTING.md file
Version Tag Metric
0.3.7 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
0.3.7 failed this metric
0.3.7 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 contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.7 failed this metric
FC064: Ensure issues_url is set in metadata: riemann2/metadata.rb:1
FC066: Ensure chef_version is set in metadata: riemann2/metadata.rb:1
FC069: Ensure standardized license defined in metadata: riemann2/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: riemann2/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: riemann2/recipes/tools.rb:14
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.7 failed this metric
Failure: Cookbook should not contain binaries. Found:
riemann2/attributes/dash.rb
Testing File Metric
0.3.7 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 contain a TESTING.md file
Version Tag Metric
0.3.7 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
0.3.7 failed this metric
FC066: Ensure chef_version is set in metadata: riemann2/metadata.rb:1
FC069: Ensure standardized license defined in metadata: riemann2/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: riemann2/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: riemann2/recipes/tools.rb:14
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.3.7 failed this metric
Failure: Cookbook should not contain binaries. Found:
riemann2/attributes/dash.rb
Testing File Metric
0.3.7 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 contain a TESTING.md file
Version Tag Metric
0.3.7 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
0.3.7 failed this metric
0.3.7 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