#!/bin/bash

echo 'WARNING: This script is deprecated.  deploy.py should now be used instead.'

stack_name=${1:-quintupleo}
op=create
if heat stack-list | grep " $stack_name "; then
    op=update
fi
heat stack-$op -f templates/quintupleo.yaml -e templates/resource-registry.yaml -e env.yaml $stack_name
