From 5c97eb6bbcbf88df89a10cbe6682f6f53c6bdc66 Mon Sep 17 00:00:00 2001 From: Brian Menges Date: Tue, 9 Aug 2016 10:58:12 -0700 Subject: [PATCH] chef_mlsa - Added missing file [chef_mlsa.bash](files/chef_mlsa.bash) - Fixes #7 --- files/chef_mlsa.bash | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 files/chef_mlsa.bash 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