marathon_consul
Module for installing the allegro marathon-consul bridge
Version information
released Jan 24th 2017
This version is compatible with:
- Puppet Enterprise >= 3.7.0
- Puppet >= 3.4.0
- ,
Start using this module
Add this module to your Puppetfile:
mod 'jensendw-marathon_consul', '0.0.2'
Learn more about managing modules with a PuppetfileDocumentation
jensendw/marathon_consul — version 0.0.2 Jan 24th 2017
Marathon Consul Puppet Module
Table of Contents
- Overview
- Support
- Setup
- [What the marathon_consul class affects](#What the marathon_consul class affects)
- 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',
}
}
Dependencies
- nanliu/staging (>= 1.0.3)