Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 786 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 786 Bytes

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.