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']['config']['ignore_ssl_certs']
- Defaults tofalse
. Set ittrue
only for dev nodes.['cerebro']['config']['esuser']
- Elasticsearch username['cerebro']['config']['espass']
- Elasticsearch password['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.6.5
['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