diff options
author | Michael Weiser <m.weiser@science-computing.de> | 2015-10-01 17:15:58 +0200 |
---|---|---|
committer | Michael Weiser <m.weiser@science-computing.de> | 2015-10-01 17:26:23 +0200 |
commit | 35290991d38202cd1bd3f52616a23d4e471b8343 (patch) | |
tree | 458c85642b4a40fc10bf417370554582cdda0000 /README.md | |
parent | e6d8b84099ee9764be4b366af6d7823f20f66227 (diff) |
Add custom hiera backend for trocla
Only reacts to key namespace trocla::password::<trocla_key>. Looks up
additional parameters via hiera itself as
trocla::options::<trocla_key>::format (string) and
trocla::options::<trocla_key>::options (hash). Looks for <trocla_key> in
trocla as hiera/<source>/<trocla> with <source> iterating over the
configured hiera hierarchy. If not found, creates and returns a new
password with trocla key <trocla_key>.
example entry in hiera.yaml:
backends:
- ...
- trocla
trocla:
- configfile: /etc/puppet/troclarc.yaml
- format: plain
- options:
length: 16
example usage in hiera yaml file:
kerberos::kdc_database_password: "%{hiera('trocla::password::kdc_database_password')}"
trocla::options::kdc_database_password::format: 'plain'
trocla::options::kdc_database_password::options:
length: '71'
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions