hiera_etcd

Module for installing a etcd hiera backend

Gareth Rushgrove

garethr

11,380 downloads

10,552 latest version

4.4 quality score

Version information

  • 0.2.0 (latest)
  • 0.1.1
  • 0.1.0
  • 0.0.1
released Sep 28th 2014

Start using this module

Tags: hiera, etcd

Documentation

garethr/hiera_etcd — version 0.2.0 Sep 28th 2014

etcd is a highly-available key value store for shared configuration and service discovery. Hiera-etcd provides a Hiera backend which allows for specifying multiple etcd paths from which data can be collected and easily inserted into Puppet manifests.

Prerequisites

You'll need the etcd gem installed. Potentially with gem install etcd

Configuration

The following hiera.yaml should get you started.

:backends:
  - etcd
 
:http:
  :host: 127.0.0.1
  :port: 4001
  :paths:
    - /configuration/%{fqdn}
    - /configuration/common

Thanks

The starting point for this backend was the hiera-http backend from @crayfishx.