Skip to content

Instantly share code, notes, and snippets.

@floatingatoll
Forked from anonymous/-
Created August 30, 2016 18:19
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 floatingatoll/510ffc4e17ab738e2efaef7e0a86c563 to your computer and use it in GitHub Desktop.
Save floatingatoll/510ffc4e17ab738e2efaef7e0a86c563 to your computer and use it in GitHub Desktop.
Index: hiera.yaml
===================================================================
--- hiera.yaml (revision 121269)
+++ hiera.yaml (working copy)
@@ -2,16 +2,16 @@
:backends:
- yaml
:yaml:
- :datadir: /etc/puppet/hiera
+ :datadir: /etc/puppet
:logger:
- puppet
:hierarchy:
- - secrets/nodes/%{::clientcert}
- - nodes/%{::clientcert}
- - secrets/datacenters/%{::datacenter}
- - datacenters/%{::datacenter}
- - secrets/site
- - site
- - secrets/systems
- - systems
+ - modules/secrets/hiera/secrets/nodes/%{::clientcert}
+ - modules/secrets/hiera/nodes/%{::clientcert}
+ - modules/secrets/hiera/secrets/datacenters/%{::datacenter}
+ - modules/secrets/hiera/datacenters/%{::datacenter}
+ - modules/secrets/hiera/secrets/site
+ - modules/secrets/hiera/site
+ - modules/secrets/hiera/secrets/systems
+ - modules/secrets/hiera/systems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment