Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
17
Merge Requests
1
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
548f89a6
authored
Jul 29, 2015
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
graphite: fix carbon install problem on redhat systems
parent
da1ceb13
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
salt/graphite/configuration.sls
+1
-0
salt/graphite/files/requirements.txt
+2
-0
salt/graphite/virtualenv.sls
+5
-0
No files found.
salt/graphite/configuration.sls
View file @
548f89a6
...
@@ -10,6 +10,7 @@ postactivate:
...
@@ -10,6 +10,7 @@ postactivate:
requirements:
requirements:
file.managed:
file.managed:
- name: /home/{{ pillar['graphite']['user'] }}/requirements.txt
- name: /home/{{ pillar['graphite']['user'] }}/requirements.txt
- template: jinja
- source: salt://graphite/files/requirements.txt
- source: salt://graphite/files/requirements.txt
- user: {{ pillar['graphite']['user'] }}
- user: {{ pillar['graphite']['user'] }}
- group: {{ pillar['graphite']['user'] }}
- group: {{ pillar['graphite']['user'] }}
...
...
salt/graphite/files/requirements.txt
View file @
548f89a6
...
@@ -8,5 +8,7 @@ gunicorn
...
@@ -8,5 +8,7 @@ gunicorn
pytz
pytz
pyparsing
pyparsing
whisper
whisper
{%
if grains['os_family'] != 'RedHat' %}
carbon
==0.9.12
carbon
==0.9.12
{%
endif %}
graphite-web
graphite-web
salt/graphite/virtualenv.sls
View file @
548f89a6
{% if grains['os_family'] == 'RedHat' %}
python-carbon:
pkg.installed
{% endif %}
virtualenv_graphite:
virtualenv_graphite:
virtualenv.managed:
virtualenv.managed:
- name: /home/{{ pillar['graphite']['user'] }}/.virtualenvs/graphite
- name: /home/{{ pillar['graphite']['user'] }}/.virtualenvs/graphite
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment