- 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)
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.
This module is currently tested on:
- CentOS 7
- 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
class {'::marathon_consul':}
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',
}
}