openstack-chef/bootstrap.sh

12 lines
682 B
Bash
Executable File

#!/bin/bash -x
## This script is for installing all the needed packages on trusty to run the chef tests with 'chef exec rake'.
## It relies on the common bootstrap.sh from openstack/cookbook-openstack-common for installing common dependencies.
wget -nv -t 3 -O common-bootstrap.sh https://raw.githubusercontent.com/openstack/cookbook-openstack-common/stable/kilo/bootstrap.sh
/bin/bash -x common-bootstrap.sh
# To enable cookbook Depends-On support, the Common bootstrap above will already
# get the cookbook dependencies cloned into ../openstack-cookbook-xxxx. In order to
# have the repo tests finds this, the Berksfile REPO_DEV support needs to be enabled.
export REPO_DEV=ON