diff --git a/manifests/pip.pp b/manifests/pip.pp index 9762c103..9a8593d3 100644 --- a/manifests/pip.pp +++ b/manifests/pip.pp @@ -26,8 +26,9 @@ # define python::pip ( $virtualenv, - $ensure = present, - $proxy = false + $ensure = present, + $proxy = false, + $timeout = 300 ) { # Parameter validation @@ -50,6 +51,7 @@ exec { "pip_install_${name}": command => "${virtualenv}/bin/pip install ${proxy_flag} ${name}", unless => "${virtualenv}/bin/pip freeze | grep -i -e ${grep_regex}", + timeout => $timeout, } }