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
pip.installed with local tar.gz file #44039
Comments
For information, I also tested to file.managed in /tmp my tar.gz and then pip.install from this /tmp/file.tar.gz, without success. |
I'm not seeing that as an option, but in the code it looks like it just runs the executable Also for now i'll approve this as a feature request. |
Complete sls file is, it comes from saltstack-formulas/collectd-formula
file.manage state ID collectd-ntpd-wheel works well
but not pip.installed collectd-ntpd-module
|
We have found a way to make it work using a temporary file.managed step. The solution is
Using source to specify local file does not work, but giving it to name does. I think Improving documentation of pip.installed state would be interesting, to explicity indicate how it works. And adding the possibility to use a source with salt:// fileserver would be really great, like you can in other states. |
Yeah lets keep this issue open for adding the source salt:// option and whenever someone adds that option we will make sure it includes docs for this new option as well :) So we can just use this issue thats fine |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
This feature request is still valid. |
Thank you for updating this issue. It is no longer marked as stale. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
still relevant |
Thank you for updating this issue. It is no longer marked as stale. |
Description of Issue/Question
My servers have a limited access to internet, so I want to pip install a package using a local tar.gz file.
This tar.gz file works well when installing it directly with pip
I have searched in documentation and issues and do not find any clear statement that local files are supported in pip.installed state.
Setup
Saltstack version 2016.11.8+ds1 (some servers run .5), either running in master-minion setup or masterless (using salt-call in test-kitchen environment)
My original SLS file looks (I removed require/require_in and other ID in file)
collectd-ntp-0.0.4.tar.gz is in directory collectd/files
Steps to Reproduce Issue
In masterless environnement, I run
I always have an error about the impossibility to reach https://pypi.python.org
Versions Report
The text was updated successfully, but these errors were encountered: