pip.installed with local tar.gz file #67570
Replies: 11 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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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
|
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
This feature request is still valid. |
Beta Was this translation helpful? Give feedback.
-
Thank you for updating this issue. It is no longer marked as stale. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
still relevant |
Beta Was this translation helpful? Give feedback.
-
Thank you for updating this issue. It is no longer marked as stale. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
Beta Was this translation helpful? Give feedback.
All reactions