Increase timeout for wget (part 2)
In case of using customer's http_proxy for deployment, it takes more then
3 seconds to reach destination host.
Change-Id: If1e797bda9c11aee54a73bd74206e70ecaa56e89
diff --git a/src/com/mirantis/mk/Python.groovy b/src/com/mirantis/mk/Python.groovy
index 7e34e20..9974d6b 100644
--- a/src/com/mirantis/mk/Python.groovy
+++ b/src/com/mirantis/mk/Python.groovy
@@ -311,7 +311,7 @@
setupVirtualenv(path, 'python2', requirements, null, clean, true)
try {
- runVirtualenvCommand(path, "wget -q -T 3 --spider http://google.com && pip install git+https://github.com/saltstack/pepper.git")
+ runVirtualenvCommand(path, "wget -q -T 10 --spider http://google.com && pip install git+https://github.com/saltstack/pepper.git")
} catch(Exception e) {
common.warningMsg("Setuptools and pip cannot be updated, you might be offline")
runVirtualenvCommand(path, "pip install salt-pepper")