provisioning tool for building opinionated architecture
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

31 lines
432 B

#!/bin/bash
### CHECK
function check() {
PREFIX="recipe:stub:check"
echo "container <$CONTAINER> approved successfully!"
}
### INSTALL
function install() {
PREFIX="recipe:stub:install"
: $PREFIX
launch_container "$CONTAINER"
echo "initializing Stub ... "
PREFIX="" echo "OK"
}
### MAIN
. "$MIAOU_BASEDIR/lib/init.sh"
arg1_required "$@"
readonly CONTAINER="$1"
check || (
install
check
)