Hiera HTTP+eYAML Backend

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


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:

  - http_eyaml

  :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
    :X-Token: my-token
    - /configuration/%{fqdn}
    - /configuration/%{env}
    - /configuration/common


Add this line to your puppet repo's Gemfile:

gem 'hiera-http-eyaml'

Or install it with gem:

$ gem install hiera-http-eyaml


The gem is available as open source under the terms of the MIT License.