Skip to content

Commit 4e2f79b

Browse files
committed
P:puppet: fix typo
1 parent cce4fa8 commit 4e2f79b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/profile/files/puppet/server/jq-decom-instance.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ set -euo pipefail
66

77
INSTANCE="$1"
88

9-
TARNSAP_KEYFILE="$TARSNAP_KEYS_BASE_PATH/$INSTANCE.key"
9+
TARSNAP_KEYFILE="$TARSNAP_KEYS_BASE_PATH/$INSTANCE.key"
1010

1111
echo "=== Cleaning up $INSTANCE"
1212

13-
if [ -f "$TARNSAP_KEYFILE" ]; then
13+
if [ -f "$TARSNAP_KEYFILE" ]; then
1414
echo "Cleaning up old Tarsnap backups and key file"
1515
if ! git -C "$TARSNAP_KEYS_BASE_PATH" diff-index --quiet HEAD --; then
1616
echo "The private git directory has uncommitted changes, please fix that before running this script."
1717
exit 1
1818
fi
1919

20-
tarsnap --keyfile "$TARNSAP_KEYFILE" --nuke
20+
tarsnap --keyfile "$TARSNAP_KEYFILE" --nuke
2121

22-
git -C "$TARSNAP_KEYS_BASE_PATH" rm "$TARNSAP_KEYFILE"
22+
git -C "$TARSNAP_KEYS_BASE_PATH" rm "$TARSNAP_KEYFILE"
2323
git -C "$TARSNAP_KEYS_BASE_PATH" commit -m "remove Tarsnap keys for $INSTANCE"
2424
fi
2525

0 commit comments

Comments
 (0)