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.
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with consul
- Usage - Configuration options and additional functionality
- Installed Files - What gets installed
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)
This module should be run on an instance that will either host a consul client or server.
This puppet module assumes the base image already has tools like unzip and awscli installed.
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
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