itamae/cookbooks/consul/files/usr/local/bin/check_file

10 lines
70 B
Bash

#!/bin/bash
TARGET=$1
if [ -f ${TARGET} ]; then
exit 1
fi
exit 0