summaryrefslogtreecommitdiffstats
path: root/bin/secrets
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-19 22:58:34 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-19 22:58:34 -0400
commite4416660bccbf109cd35965510bc8153bd172be9 (patch)
treea3f1a0414f33a30288154a73cea62fcb54899502 /bin/secrets
parent0fcb7aea6c32777276fe66e721ca1d5dddd2d48f (diff)
downloadpuppet-tozt-e4416660bccbf109cd35965510bc8153bd172be9.tar.gz
puppet-tozt-e4416660bccbf109cd35965510bc8153bd172be9.zip
make tools recognize the mail host type
Diffstat (limited to 'bin/secrets')
-rwxr-xr-xbin/secrets2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/secrets b/bin/secrets
index e25454b..d42c5de 100755
--- a/bin/secrets
+++ b/bin/secrets
@@ -33,6 +33,8 @@ cmd_sync() {
host="${2:-tozt}"
if [ "${host}" = "tozt" ]; then
hostname=tozt.net
+ elif [ "${host}" = "mail" ]; then
+ hostname=newmail.tozt.net
else
echo "unknown host ${host}" >&2
exit 1