How do I write the salt state for a package installation requirements file?

Can't find it. I'm trying to:

pip.install:
  - requirements: /path/to/requirements.txt

      

But I am getting an error that

ID pip.install in SLS python.python-pip is not a dictionary

      

Many of the other ways include virtualenvs, but I don't want to use virtualenv to do this as it does for a VM, so it doesn't make sense.

+3


source to share


1 answer


pip.install editor



pip.installed:
  - requirements: /path/to/requirements.txt

      

+4


source







All Articles