Git Product home page Git Product logo

flapjack's Introduction

Flapjack Cookbook

This cookbook installs and configure Flapjack, a monitoring notification routing system. Flapjack gateways and contacts (with notification rules) can be managed.

Platforms

  • Ubuntu >= 12.04
  • Centos >= 6.4

Attributes

node["flapjack"]["install_method"] - Flapjack installation method, "gem" or "package" (no rpm).

Note: Package install method does not use the package scripts.

node["flapjack"]["version"] - Flapjack version (eg. gem: "0.8.5" or package: "0.8.5+20140209152603-1.ubuntu.12.04").

node["flapjack"]["apt_repo_uri"] - Flapjack APT repository URI.

node["flapjack"]["rest_client"]["version"] - Ruby Rest-Client library version (for the API library).

node["flapjack"]["install_ruby"] - Install Ruby when using the gem installation method.

node["flapjack"]["install_redis"] - Install Redis.

node["flapjack"]["user"] - User to run Flapjack as, the default is "flapjack".

node["flapjack"]["group"] - Flapjack user group.

node["flapjack"]["services"] - Flapjack services to run, currently only ["flapjack"] is supported.

node["flapjack"]["gateways"]["data_bag"]["name"] - Flapjack gateways data bag name.

node["flapjack"]["contacts"]["data_bag"]["name"] - Flapjack contacts data bag name.

node["flapjack"]["contacts"]["data_bag"]["namespace"] - Flapjack contacts data bag item config namespace.

node["flapjack"]["environment"] - The Flapjack environment, the default is "production".

node["flapjack"]["config"][*] - Flapjack configuration options, please refer to https://github.com/flapjack/flapjack/wiki/USING#configuring-components for more information.

Recipes

default

Installs and configures Flapjack, using the following recipes.

_config

Manages Flapjack configuration, /etc/flapjack/flapjack_config.yaml, by default, this recipe pulls gateways from the flapjack_gateways data bag, which can be changed by node["flapjack"]["gateways"]["data_bag"]["name"].

_contacts

Manages Flapjack contacts (create & delete), and their notification rules. By default, this recipe uses the flapjack_contacts data bag, however, you may use node["flapjack"]["contacts"]["data_bag"]["name"] and node["flapjack"]["contacts"]["data_bag"]["namespace"] to use a different data bag and namespace. The recipe uses the flapjack_contact resource (LWRP).

_gem

Installs the Flapjack Ruby gem, optionally installing Ruby, using the ruby_installer cookbook.

_package

Installs (extracts) the Flapjack package, currently only supported on ubuntu.

_redis

Builds and installs Redis, using the redisio cookbook.

_rest_client

Installs the rest-client Ruby gem.

_services

Manages the runit supervised services specified in node["flapjack"]["services"].

_user

Manages the Flapjack user.

flapjack's People

Contributors

portertech avatar tas50 avatar agoddard avatar cwjohnston avatar

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.