python: Add comment for pip-install exec
This commit is contained in:
parent
bed8b2e777
commit
f8a6139159
1 changed files with 3 additions and 0 deletions
|
@ -179,6 +179,9 @@ define python::pip::install($source=undef) {
|
|||
source => $source,
|
||||
}
|
||||
|
||||
# Use exec to install from local files, pip package provider does not
|
||||
# support extra arguments. --no-deps --no-index stops pip from accessing
|
||||
# pypi.
|
||||
exec { "pip-install-${filename}":
|
||||
refreshonly => true,
|
||||
path => '/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue