Skip to content

Instantly share code, notes, and snippets.

@eric-aldinger
Last active August 2, 2017 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eric-aldinger/55979bd00be8edc635e6d28da8bb6a60 to your computer and use it in GitHub Desktop.
Save eric-aldinger/55979bd00be8edc635e6d28da8bb6a60 to your computer and use it in GitHub Desktop.
# NOTE mod 'lynxman-hiera_consul', '0.1.2'is not hiera.yaml v5 compliant
# REF to old format https://docs.puppet.com/hiera/3.3/configuring.html
version: 3
:backends:
- consul
- yaml
:consul:
:host: "%{facts.consulhost}"
:port: 8500
:use_ssl: false
:ssl_verify: false
:failure: graceful
:ignore_404: false
:token: "%{facts.mytoken}"
:paths:
- /v1/kv/dev/%{environment}
- /v1/catalog/service
:yaml:
:datadir: "hieradata"
:merge_behavior: deeper
:hierarchy:
- "%{environment}"
- "common"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment