I hereby claim:
- I am rabattkarte on github.
- I am rabattkarte (https://keybase.io/rabattkarte) on keybase.
- I have a public key ASCj5t7RXldXqpsmZ-KrdooRCemOT8eZ3gYjiHKyhSIN0wo
To claim this, I am signing this object:
| #!/bin/bash | |
| CREDENTIALS_FILE="$HOME/.terraform.d/credentials.tfrc.json" | |
| if [ -z "$TFE_TOKEN" ]; then | |
| if [ -f "$CREDENTIALS_FILE" ]; then | |
| echo "\$TFE_TOKEN is empty. Using \$TFE_TOKEN from $CREDENTIALS_FILE" | |
| TFE_TOKEN=$(jq --raw-output '.credentials."app.terraform.io".token' \ | |
| "$HOME/.terraform.d/credentials.tfrc.json") | |
| fi |
I hereby claim:
To claim this, I am signing this object:
| $ cd /tmp/testdir/sites-enabled/ | |
| $ touch 12098 dlij 0921 dpo 210983uj1m foo bar abc def | |
| $ ls | |
| 0921 12098 210983uj1m abc bar def dlij dpo foo | |
| $ salt-call state.apply remove_files_in_dir_except_list | |
| local: | |
| ---------- | |
| ID: file | |
| Function: 0./tmp/testdir/sites-enabled/ | |
| Name: remove files in dir |