[Django]-Salt – multiple requirement files to virtualenv

4👍

There is an easier way, set no_chown: True on the virtualenv and it works. See this issue for more info:

https://github.com/saltstack/salt/pull/4832

0👍

What worked for me was in salt roots to add a requirements.txt that had:

-r /srv/MyProject/src/requirements.txt

then in the state, link to it via salt like so:

- requirements: salt://requirements.txt

This then allows you to include further requirements as normal without issues.

👤uzi

Leave a comment