File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
modules/profile/files/puppet/server Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,20 +6,20 @@ set -euo pipefail
6
6
7
7
INSTANCE=" $1 "
8
8
9
- TARNSAP_KEYFILE =" $TARSNAP_KEYS_BASE_PATH /$INSTANCE .key"
9
+ TARSNAP_KEYFILE =" $TARSNAP_KEYS_BASE_PATH /$INSTANCE .key"
10
10
11
11
echo " === Cleaning up $INSTANCE "
12
12
13
- if [ -f " $TARNSAP_KEYFILE " ]; then
13
+ if [ -f " $TARSNAP_KEYFILE " ]; then
14
14
echo " Cleaning up old Tarsnap backups and key file"
15
15
if ! git -C " $TARSNAP_KEYS_BASE_PATH " diff-index --quiet HEAD --; then
16
16
echo " The private git directory has uncommitted changes, please fix that before running this script."
17
17
exit 1
18
18
fi
19
19
20
- tarsnap --keyfile " $TARNSAP_KEYFILE " --nuke
20
+ tarsnap --keyfile " $TARSNAP_KEYFILE " --nuke
21
21
22
- git -C " $TARSNAP_KEYS_BASE_PATH " rm " $TARNSAP_KEYFILE "
22
+ git -C " $TARSNAP_KEYS_BASE_PATH " rm " $TARSNAP_KEYFILE "
23
23
git -C " $TARSNAP_KEYS_BASE_PATH " commit -m " remove Tarsnap keys for $INSTANCE "
24
24
fi
25
25
You can’t perform that action at this time.
0 commit comments