From 7cd91b36ed4f8204af6626a522622cf9c20dfb17 Mon Sep 17 00:00:00 2001 From: Yolanda Robla Date: Mon, 28 Sep 2015 16:01:20 +0200 Subject: [PATCH] Remove deletion of vcsrepo module on each run This is creating a race, because it deletes vcsrepo module every time, and recreate it again, causing it to be unavailable for long periods during clones. Change-Id: I8576959ecd2dbba52e08a37bba2dd6938e259002 --- install_modules.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/install_modules.sh b/install_modules.sh index b458ca6d6a..4f42cf6723 100755 --- a/install_modules.sh +++ b/install_modules.sh @@ -68,11 +68,6 @@ fi MODULE_LIST=`puppet module list --color=false` -# Transition away from old things -if [ -d /etc/puppet/modules/vcsrepo/.git ]; then - rm -rf /etc/puppet/modules/vcsrepo -fi - # Install all the modules for MOD in ${!MODULES[*]} ; do # If the module at the current version does not exist upgrade or install it.