diff --git a/files/chef_mlsa.bash b/files/chef_mlsa.bash new file mode 100644 index 0000000..fa504a2 --- /dev/null +++ b/files/chef_mlsa.bash @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +case ${1,,} in + true) exit 0 ;; + + 1) exit 0 ;; + + false) echo "Please set acept_license = \"true\" in terraform.tfvars" + exit 1 ;; + + 0) echo "Please set acept_license = \"true\" in terraform.tfvars" + exit 1 ;; + + *) echo "Please set acept_license = \"true\" in terraform.tfvars" + exit 1 ;; +esac