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:
parent
cc65720564
commit
7cd91b36ed
@ -68,11 +68,6 @@ fi
|
|||||||
|
|
||||||
MODULE_LIST=`puppet module list --color=false`
|
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
|
# Install all the modules
|
||||||
for MOD in ${!MODULES[*]} ; do
|
for MOD in ${!MODULES[*]} ; do
|
||||||
# If the module at the current version does not exist upgrade or install it.
|
# If the module at the current version does not exist upgrade or install it.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user