#!/bin/bash

set -ex

# Install designate devstack integration
cp -R $BASE/new/designate/contrib/devstack/* $BASE/new/devstack

# Temp Hack to remove the localrc we copy over, will be fixed in
# the next review
rm $BASE/new/devstack/localrc

#!/bin/bash

set -ex

# Install designate devstack integration
pushd $BASE/new/designate/contrib/devstack

for f in lib/* extras.d/* exercises/*; do
    if [ ! -e "$BASE/new/devstack/$f" ]; then
        echo "Installing: $f"
        cp -r $f $BASE/new/devstack/$f
    fi
done

popd

Install only the necessary files during a DevStack gate run
Install only the necessary files during a DevStack gate run

Previously, we installed all files in contrib/devstack, which includes
a sample localrc file which should not be used.

Change-Id: I5e73a42509e339e3f1a576b3e44ee00413fa566c
