Skip to content

Instantly share code, notes, and snippets.

@SunPowered
Last active August 27, 2015 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SunPowered/b2521bfbf389271f3e81 to your computer and use it in GitHub Desktop.
Save SunPowered/b2521bfbf389271f3e81 to your computer and use it in GitHub Desktop.
Vagrant + Salt Pip.Installed Error
common-pkgs:
pkg.installed:
- pkgs:
- zsh
- htop
metatech:
user.present
python-pip:
cmd.run:
- name: 'python /srv/salt/mtportal/python/get-pip.py'
- user: root
{{ pillar['install_dir'] }}/requirements.txt:
pip.installed:
- user: root
- require:
- cmd: python-pip
- watch:
- file: {{ pillar['install_dir'] }}/requirements.txt
/var/log/metatech:
file.directory:
- user: root
- group: root
- dir_mode: 755
- file_mode: 644
include:
- .nginx
- .uwsgi
- .supervisor
----------
ID: /vagrant/requirements.txt
Function: pip.installed
Result: False
Comment: The following requisites were not found:
require:
file: /vagrant/requirements.txt
Started:
Duration:
Changes:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment