Changes

Jump to: navigation, search

ReleaseEngineering/PuppetAgain/Secrets

35 bytes added, 22:09, 9 June 2014
Using EYAML
--output examples --password -l 'foo'
where 'foo' is the name of the variable to set. Then copy/paste whichever result format you prefer into `/etc/hiera/secrets.eyaml` or into your own `/etc/hiera/environments/<username>_secrets.eyaml`. Double-check your work before saving -- if this file can't be parsed as valid yaml, all puppet runs will fail.
To check the value of a secret, use 'hiera':
hiera -c /etc/puppet/hiera.yaml root_pw_saltedsha512 The `-c` is optional.
To check the value of a secret in `/etc/hiera/environments/<username>_secrets.eyaml`, use:
hiera -c /etc/puppet/hiera.yaml root_pw_saltedsha512 environment='<username>'
== User Environments ==
Canmove, confirm
1,394
edits

Navigation menu