consul

Hashicorp Consul management

Kevin James

thekevjames

6,111 downloads

6,111 latest version

4.3 quality score

Version information

  • 1.0.0 (latest)
released Apr 12th 2016
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.3.0 < 5.0.0
  • CentOS, Darwin, Debian, Fedora, Ubuntu

Start using this module

Documentation

thekevjames/consul — version 1.0.0 Apr 12th 2016

puppet-consul

A Puppet Module to install and manage Consul.

puppet-consul is available on the Puppet Forge.

Usage

Simply

class { '::consul':
  home                 => '/home/kevin',
  datacenter           => 'DC1',
  atlas_infrastructure => 'thekevjames/machines',
  atlas_token          => 'not-my-password',
  server               => true,
}

to make sure consul is installed.

Configuration

In addition to the above value set for consul, you can also use hiera to override the following defaults:

consul::dependencies:
  - curl
  - unzip

consul::service_location: /etc/systemd/system/consul.service
consul::service_template: consul/systemd.erb

consul::url: https://releases.hashicorp.com/consul/0.6.4/consul_0.6.4_linux_amd64.zip