Commit 548f89a6 by Czémán Arnold

graphite: fix carbon install problem on redhat systems

parent da1ceb13
......@@ -10,6 +10,7 @@ postactivate:
requirements:
file.managed:
- name: /home/{{ pillar['graphite']['user'] }}/requirements.txt
- template: jinja
- source: salt://graphite/files/requirements.txt
- user: {{ pillar['graphite']['user'] }}
- group: {{ pillar['graphite']['user'] }}
......
......@@ -8,5 +8,7 @@ gunicorn
pytz
pyparsing
whisper
{% if grains['os_family'] != 'RedHat' %}
carbon==0.9.12
{% endif %}
graphite-web
{% if grains['os_family'] == 'RedHat' %}
python-carbon:
pkg.installed
{% endif %}
virtualenv_graphite:
virtualenv.managed:
- name: /home/{{ pillar['graphite']['user'] }}/.virtualenvs/graphite
......
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