marathon_consul

Module for installing the allegro marathon-consul bridge

jensendw

jensendw

5,195 downloads

5,112 latest version

5.0 quality score

Version information

  • 0.0.2 (latest)
  • 0.0.1
released Jan 24th 2017
This version is compatible with:
  • Puppet Enterprise >= 3.7.0
  • Puppet >= 3.4.0
  • RedHat
    ,
    CentOS

Start using this module

Documentation

jensendw/marathon_consul — version 0.0.2 Jan 24th 2017

Marathon Consul Puppet Module

Table of Contents

  1. Overview
  2. Support
  3. Setup
    • [What the marathon_consul class affects](#What the marathon_consul class affects)
  4. Usage
    • [Install marathon-consul and setup service](#Install marathon-consul and setup service)
    • [Install marathon-consul with custom configuration parameters](#Install marathon-consul with custom configuration parameters)

Overview

The marathon consul puppet module installs the marathon consul bridge software created by allegro which can be found here. The marathon consul bridge creates consul services for each of your services running in Marathon.

Support

This module is currently tested on:

  • CentOS 7

Setup

What the marathon_consul class affects

  • Downloads and unpackages the marathon-consul package from https://github.com/allegro/marathon-consul
  • Extracts download to /opt/marathon-consul-{version}
  • Configures settings in /etc/marathon-consul
  • Takes the options hash provided and creates /etc/marathon-consul/marathon-consul.conf file
  • Creates startup scripts for marathon-consul

Usage

Install marathon-consul and setup service

class {'::marathon_consul':}

Install marathon-consul with custom configuration parameters

All the configuration parameters for marathon-consul are supported as part of the options hash

class {'::marathon_consul':
        options => {
                'marathon-location' => 'localhost:8080',
                'sync-interval'     => '5m',
                'log-level'         => 'debug',
        }
}