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

simple-cerebro (1) Versions 0.1.0

Installs cerebro 0.3.1

Policyfile
Berkshelf
Knife
cookbook 'simple-cerebro', '~> 0.1.0', :supermarket
cookbook 'simple-cerebro', '~> 0.1.0'
knife supermarket install simple-cerebro
knife supermarket download simple-cerebro
README
Dependencies
Quality 17%

Description

Sets up cerebro, that is all.
It doesn't install or depend on apache, nginx, etc... however cerebro needs at least java 1.8 or newer to run, so don't forget it.

Usage

Override each node['cerebro']['download_url'], node['cerebro']['checksum'], node['cerebro']['version'].

Custom init service

This cookbook is designed to be wrapped by yours project cookbook.
In this use-case you don't need to include simple-kibana::default recipe.

Do something like this in yours default recipe:

include_recipe 'simple-cerebro::install'
include_recipe 'simple-cerebro::configure'
include_recipe 'mywrapper-cerebro::service_upstart' # I want to use upstart
...

Requirements

Platform:

  • debian
  • centos

Cookbooks:

  • ark
  • runit

Attributes

  • ['cerebro']['config']['application.secret'] - This should always be replaced
  • ['cerebro']['config']['application.langs'] - Defaults to en
  • ['cerebro']['config']['host'] - Defaults to http://localhost:9200
  • ['cerebro']['config']['logger.root'] - Defaults to ERROR
  • ['cerebro']['config']['logger.play'] - Defaults to INFO
  • ['cerebro']['config']['logger.application'] - Defaults to DEBUG
  • ['cerebro']['download_url'] - Defaults to https://github.com/lmenezes/cerebro/releases/download/v0.3.1/cerebro-0.3.1.tgz
  • ['cerebro']['checksum'] - Defaults to 23e2573abc41087237a69f775ebfb220af4b77745a37f6eea507cee69fd90896
  • ['cerebro']['version'] - Defaults to 0.3.1
  • ['cerebro']['user'] - Defaults to Cerebro
  • ['cerebro']['group'] - Defaults to Cerebro
  • ['cerebro']['dir'] - Defaults to /opt
  • ['cerebro']['path']['logs'] - Defaults to /var/log/cerebro

License and Authors

License:: Apache 2.0
Authors:: David Wilson
Source:: https://github.com/One-Model/simple-cerebro-cookbook
Issues:: https://github.com/One-Model/simple-cerebro-cookbook/issues

Credit:: Much of this recipe was adapted from the simple-kibana recipe https://github.com/jsirex/simple-kibana-cookbook

Dependent cookbooks

java >= 0.0.0
runit >= 0.0.0
ark >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

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 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.1.0 failed this metric

FC009: Resource attribute not recognised: simple-cerebro/recipes/user-cerebro.rb:6
FC066: Ensure chef_version is set in metadata: simple-cerebro/metadata.rb:1
FC069: Ensure standardized license defined in metadata: simple-cerebro/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.0 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.1.0 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