Nike-Inc / cerberus-consul-puppet-module

A Puppet module for installing Hashicorp's Consul as a service with customized start up scripts for Cerberus.

Home Page:http://nike-inc.github.io/cerberus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cerberus Consul Puppet Module

This module installs Consul for the Cerberus project along and an upstart script. It is used in creating a Cerberus environment.

To learn more about Cerberus, please visit the Cerberus website.

Table of Contents

  1. Module Description - What the module does and why it is useful
  2. Setup - The basics of getting started with consul
  3. Usage - Configuration options and additional functionality
  4. Installed Files - What gets installed

Module Description

We're only using a subset of consul's capabilities:

Applications can make use of Consul's hierarchical key/value store for any number of purposes, including dynamic configuration, feature flagging, coordination, leader election, and more. The simple HTTP API makes it easy to use.

More Information: (https://www.consul.io/intro/index.html)

Setup

What consul affects

This module should be run on an instance that will either host a consul client or server.

Setup Requirements

This puppet module assumes the base image already has tools like unzip and awscli installed.

Usage

Start consul with upstart as root: start consul Stop consul with upstart as root: stop consul

The process runs as a system user named consul

Installed Files

Upstart Config: /etc/init/consul.conf Binary: /usr/local/bin/* Configuration: /etc/consul/* Data: /var/consul/data Log: /var/log/consul/*

Server Only:

Web UI: /var/consul/webui/dist

About

A Puppet module for installing Hashicorp's Consul as a service with customized start up scripts for Cerberus.

http://nike-inc.github.io/cerberus

License:Apache License 2.0


Languages

Language:HTML 36.9%Language:Python 25.8%Language:Puppet 23.9%Language:Shell 13.4%