54c4715f1c
Add CI scripts for: - lint - syntax 3 and 4 - unit - beaker Change-Id: I38dd2000996d20ebe51bd64fb831c5b352439eec
17 lines
500 B
Bash
17 lines
500 B
Bash
#!/bin/bash
|
|
#
|
|
# functions - puppet-openstack_spec_helper specific functions
|
|
#
|
|
|
|
install_module() {
|
|
if [ -e /usr/zuul-env/bin/zuul-cloner ] ; then
|
|
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
|
git://git.openstack.org openstack/puppet-openstack-cookiecutter
|
|
else
|
|
git clone git://git.openstack.org/openstack/puppet-openstack-cookiecutter openstack/puppet-openstack-cookiecutter
|
|
fi
|
|
cd openstack/puppet-openstack-cookiecutter
|
|
source functions
|
|
prepare_environment
|
|
}
|