5b4539d1cc
Depends-On: https://review.opendev.org/#/c/667439/ Deepnds-On: https://review.opendev.org/#/c/667711/ Change-Id: I484ed57f7fc1af6edfa697bc582759bbf4d7bead
17 lines
568 B
Bash
17 lines
568 B
Bash
#!/bin/bash
|
|
#
|
|
# functions - puppet-openstack_spec_helper specific functions
|
|
#
|
|
|
|
install_module() {
|
|
if [ -d /home/zuul/src/opendev.org/openstack/puppet-openstack-cookiecutter ]; then
|
|
[ ! -d openstack ] && mkdir openstack
|
|
cp -R /home/zuul/src/opendev.org/openstack/puppet-openstack-cookiecutter openstack/puppet-openstack-cookiecutter
|
|
else
|
|
git clone https://git.openstack.org/openstack/puppet-openstack-cookiecutter openstack/puppet-openstack-cookiecutter
|
|
fi
|
|
cd openstack/puppet-openstack-cookiecutter
|
|
source functions
|
|
prepare_environment
|
|
}
|