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
This commit is contained in:
Yolanda Robla 2015-09-28 16:01:20 +02:00
parent cc65720564
commit 7cd91b36ed
1 changed files with 0 additions and 5 deletions

View File

@ -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.