From 54bfba67f7e5dbfbac99268b49c2f524653b9dcb Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 10 Aug 2024 22:27:22 -0300 Subject: Fix: docs: TPC: typo --- docs/tpc.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tpc.md b/docs/tpc.md index 44b35ac..c2a6954 100644 --- a/docs/tpc.md +++ b/docs/tpc.md @@ -78,14 +78,14 @@ generator like this: head -c ${1:-20} /dev/urandom | base64 | \ tr -d '\n' | \ - hydra $HYDRA eyaml $DISK encrypt -q -o block --stdin -l some::random:password >> \ + hydra $HYDRA eyaml $DISK encrypt -q -o block --stdin -l some::random::password >> \ $CONFIG_FOLDER/puppet/config/secrets/node/$DISK.$DOMAIN.yaml For `passwd(5)` and `shadow(5)` hashed passphrases, use something like this: mkpasswd -m sha-512 | \ tr -d '\n' | \ - hydra $HYDRA eyaml $DISK encrypt -q -o block --stdin -l some::random:password >> \ + hydra $HYDRA eyaml $DISK encrypt -q -o block --stdin -l some::random::password >> \ $CONFIG_FOLDER/puppet/config/secrets/node/$DISK.$DOMAIN.yaml Or this, for a random passphrase: @@ -93,7 +93,7 @@ Or this, for a random passphrase: head -c ${1:-20} /dev/urandom | base64 | \ mkpasswd -m sha-512 --stdin | \ tr -d '\n' | \ - hydra $HYDRA eyaml $DISK encrypt -q -o block --stdin -l some::random:password >> \ + hydra $HYDRA eyaml $DISK encrypt -q -o block --stdin -l some::random::password >> \ $CONFIG_FOLDER/puppet/config/secrets/node/$DISK.$DOMAIN.yaml [hiera-yaml]: https://github.com/voxpupuli/hiera-eyaml -- cgit v1.2.3