Displaying 1 result from an estimated 1 matches for "pip_opt".
Did you mean:
ip_opt
2011 Feb 17
1
Nested defined resources
...purge => true,
backup => false;
}
}
define python::package($virtualenv) {
include python::package_dir
$pkg = $title
# the tarball to install from
$tarball = "$package_dir/$pkg.tar.gz"
# pip options to make sure no internet access occurs
$pip_options = "--upgrade --no-deps --no-index --find-links/nosuchdir"
exec {
"virtualenv-package-$virtualenv-$pkg":
logoutput => on_failure,
name => "$virtualenv/bin/pip install $pip_options $tarball",
unless => "/...