-
-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for providing pip provider #412
Conversation
README.md
Outdated
@@ -77,6 +87,8 @@ Installs and manages packages from pip. | |||
|
|||
**virtualenv** - virtualenv to run pip in. Default: system (no virtualenv) | |||
|
|||
**pip_provider** - pip provder to execute pip with. Default: pip. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is a tiny typo: provder -> provider
manifests/pip.pp
Outdated
# | ||
define python::pip ( | ||
$pkgname = $name, | ||
$ensure = present, | ||
$virtualenv = 'system', | ||
$pip_proivder = 'pip', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add a dadatype for this new parameter? An enum would be awesome, otherwise String works as well.
manifests/requirements.pp
Outdated
# | ||
define python::requirements ( | ||
$requirements = $name, | ||
$virtualenv = 'system', | ||
$pip_provider = 'pip', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, please add a datatype
Hi @danquack, thanks for the PR! Can you please take a look at the used email address in your commit? It isn't associated with your github account. Can you also extend the current tests to validate variations of the new parameters? |
Hi @danquack, you can probably fix the rubocop errors with:
|
@bastelfreak copying over to a different fork to consolidate numerous git commits #414 |
Pull Request (PR) description
This Pull Request (PR) fixes the following issues
Fixes #303