cookbook 'simple-cerebro', '~> 0.1.0'
simple-cerebro (1) Versions 0.1.0 Follow1
Installs cerebro 0.3.1
cookbook 'simple-cerebro', '~> 0.1.0', :supermarket
knife supermarket install simple-cerebro
knife supermarket download simple-cerebro
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 toen
-
['cerebro']['config']['host']
- Defaults tohttp://localhost:9200
-
['cerebro']['config']['logger.root']
- Defaults toERROR
-
['cerebro']['config']['logger.play']
- Defaults toINFO
-
['cerebro']['config']['logger.application']
- Defaults toDEBUG
-
['cerebro']['download_url']
- Defaults tohttps://github.com/lmenezes/cerebro/releases/download/v0.3.1/cerebro-0.3.1.tgz
-
['cerebro']['checksum']
- Defaults to23e2573abc41087237a69f775ebfb220af4b77745a37f6eea507cee69fd90896
-
['cerebro']['version']
- Defaults to0.3.1
-
['cerebro']['user']
- Defaults toCerebro
-
['cerebro']['group']
- Defaults toCerebro
-
['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
0.1.0 failed this 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
0.1.0 failed this metric
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
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
0.1.0 failed this 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