salt icon indicating copy to clipboard operation
salt copied to clipboard

Module pip.py, grab files also from file-location

Open majo83 opened this issue 13 years ago • 2 comments

Hey there,

I would like to do in my state file something like this:

  /path/to/my/virtualenv
    virtualenv.managed:
      - extra_index_url: 'file:///srv/packages/python/simple/'
      - no_site_packages: True
      - requirements: salt://path/to/my/requirements.txt

That however does not work, as in the module pip.py there's a check against if the url is valid or not. However there the file-"protocoll" is not recognized (for pip this url would be valid). I think this would be fix very easy to implement.

majo83 avatar Jun 13 '13 19:06 majo83

Cool! Thanks for the request, you're right, this should be easy to implement.

basepi avatar Jun 13 '13 21:06 basepi

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.

stale[bot] avatar Jul 10 '17 00:07 stale[bot]