Skip to content
A hiera backend for use with the etcd distributed configuration store
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/hiera/backend
.gitignore
Gemfile
LICENSE
Modulefile
README.md
Rakefile

README.md

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.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.