Giter VIP home page Giter VIP logo

simple-cerebro-cookbook's Introduction

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']['config']['ignore_ssl_certs'] - Defaults to false. Set it true only for dev nodes.
  • ['cerebro']['config']['esuser'] - Elasticsearch username
  • ['cerebro']['config']['espass'] - Elasticsearch password
  • ['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.6.5
  • ['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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.