No commit activity in last 3 years
No release in over 3 years
Fork of the Hiera HTTP backend with eYAML support
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.1.0
>= 1.0.0
 Project Readme

Hiera HTTP+eYAML Backend

This is a fork of the hiera-http backend that decrypts hiera-eyaml blobs.

Configuration

The configuration is the same as hiera-http's configuration, plus any hiera-eyaml encryption options; at minimum you will need to set pkcs7_private_key and pkcs7_public_key.

An example configuration for Hiera 3:

---
:backends:
  - http_eyaml

:http_eyaml:
  :host: 127.0.0.1
  :port: 5984
  :output: json
  :cache_timeout: 10
  :pkcs7_private_key: /path/to/private_key.pkcs7.pem
  :pkcs7_public_key:  /path/to/public_key.pkcs7.pem
  :headers:
    :X-Token: my-token
  :paths:
    - /configuration/%{fqdn}
    - /configuration/%{env}
    - /configuration/common

Installation

Add this line to your puppet repo's Gemfile:

gem 'hiera-http-eyaml'

Or install it with gem:

$ gem install hiera-http-eyaml