diff options
author | Jesse Luehrs <doy@tozt.net> | 2024-02-21 04:03:58 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2024-02-21 04:03:58 -0500 |
commit | a6a24c9dd286280e99bbaf283c94567b9bf58ac2 (patch) | |
tree | 95ca3306b5a1977dd2a215288e34a5ca47ff7b5d /bin/secrets | |
parent | ee0d27afc5dd9ed3b02cdf6b36e2904c0f46ff7f (diff) | |
download | puppet-tozt-a6a24c9dd286280e99bbaf283c94567b9bf58ac2.tar.gz puppet-tozt-a6a24c9dd286280e99bbaf283c94567b9bf58ac2.zip |
remove algo
Diffstat (limited to 'bin/secrets')
-rwxr-xr-x | bin/secrets | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/secrets b/bin/secrets index f29a5b2..721bd3a 100755 --- a/bin/secrets +++ b/bin/secrets @@ -30,14 +30,14 @@ cmd_close() { } cmd_sync() { - if [ "${2:-}" = "--algo" ]; then + if [ "${2:-}" = "--ts" ]; then host="${3:-tozt}" if [ "${host}" = "tozt" ]; then - hostname=tozt.algo + hostname=tozt elif [ "${host}" = "mail" ]; then - hostname=mail.algo + hostname=mail elif [ "${host}" = "partofme" ]; then - hostname=partofme.algo + hostname=partofme else echo "unknown host ${host}" >&2 exit 1 |