ReleaseEngineering/PuppetAgain/Secrets: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 35: Line 35:
   eyaml -e -o block -p -n 'root_pw_hash!loaner'
   eyaml -e -o block -p -n 'root_pw_hash!loaner'


then copy/paste the result into `/etc/hiera/secrets.eyaml` or into your own `/etc/hiera/environments/<username>_secrets.eyaml`.  See {{bug|918070}} if -p doesn't work.
then copy/paste the result into `/etc/hiera/secrets.eyaml` or into your own `/etc/hiera/environments/<username>_secrets.eyaml`.  However this doesn't work right now - see {{bug|918070}}.  Instead:
 
  echo -n 'your password here' | eyaml -e -o block -n 'root_pw_hash!loaner'


To check the value of a secret, use 'hiera':
To check the value of a secret, use 'hiera':
canmove, Confirmed users
1,394

edits

Navigation menu