Commit 45fb3437 by Bach Dániel

fix dependencies

parent 195f0b54
git:
pkg.installed
gitrepo:
gitrepo_agentdriver:
git.latest:
- name: {{ pillar['agentdriver']['repo_name'] }}
- rev: {{ pillar['agentdriver']['repo_revision'] }}
......
......@@ -14,7 +14,7 @@ agentdriver:
- libmemcached-dev
- zlib1g-dev
- require_in:
- sls: gitrepo
- sls: virtualenv
- gitrepo: gitrepo_agentdriver
- virtualenv: virtualenv_agentdriver
service:
- running
virtualenv:
virtualenv_agentdriver:
virtualenv.managed:
- name: /home/{{ pillar['user'] }}/.virtualenvs/agentdriver
- requirements: /home/{{ pillar['user'] }}/agentdriver/requirements.txt
......
......@@ -14,7 +14,7 @@ graphite:
- require:
- user: {{ pillar['graphite']['user'] }}
- require_in:
- sls: virtualenv
- virtualenv: virtualenv_graphite
user:
- present
- name: {{ pillar['graphite']['user'] }}
......
virtualenv:
virtualenv_graphite:
virtualenv.managed:
- name: /home/{{ pillar['graphite']['user'] }}/.virtualenvs/graphite
- requirements: /home/{{ pillar['graphite']['user'] }}/requirements.txt
......@@ -12,12 +12,12 @@ global-site-packages:
file.absent:
- name: /home/{{pillar['graphite']['user'] }}/.virtualenvs/graphite/lib/python2.7/no-global-site-packages.txt
- require:
- virtualenv: virtualenv
- virtualenv: virtualenv_graphite
salt://graphite/files/syncdb.sh:
cmd.script:
- template: jinja
- user: {{ pillar['graphite']['user'] }}
- require:
- virtualenv: virtualenv
- virtualenv: virtualenv_graphite
- user: {{ pillar['graphite']['user'] }}
git:
pkg.installed
gitrepo:
gitrepo_storagedriver:
git.latest:
- name: {{ pillar['storagedriver']['repo_name'] }}
- rev: {{ pillar['storagedriver']['repo_revision'] }}
......
......@@ -14,8 +14,8 @@ storagedriver:
- ntp
- qemu-utils
- require_in:
- sls: gitrepo
- sls: virtualenv
- gitrepo: gitrepo_storagedriver
- virtualenv: virtualenv_storagedriver
storage:
service:
......
virtualenv:
virtualenv_storagedriver:
virtualenv.managed:
- name: /home/{{ pillar['user'] }}/.virtualenvs/storagedriver
- requirements: /home/{{ pillar['user'] }}/storagedriver/requirements/production.txt
......
git:
pkg.installed
gitrepo:
gitrepo_vncproxy:
git.latest:
- name: {{ pillar['vncproxy']['repo_name'] }}
- rev: {{ pillar['vncproxy']['repo_revision'] }}
......
......@@ -14,7 +14,7 @@ vncproxy:
- libffi-dev
- libssl-dev
- require_in:
- sls: gitrepo
- sls: virtualenv
- gitrepo: gitrepo_vncproxy
- gitrepo: virtualenv_vncproxy
service:
- running
virtualenv:
virtualenv_vncproxy:
virtualenv.managed:
- name: /home/{{ pillar['user'] }}/.virtualenvs/vncproxy
- requirements: /home/{{ pillar['user'] }}/vncproxy/requirements.txt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment