diff --git a/functions b/functions index 08ebf3c..750f549 100644 --- a/functions +++ b/functions @@ -4,9 +4,9 @@ # install_module() { - if [ -e /usr/zuul-env/bin/zuul-cloner ] ; then - /usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \ - https://git.openstack.org openstack/puppet-openstack-cookiecutter + 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