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
9 years ago
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:
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'] }}
...
...
This diff is collapsed.
Click to expand it.
salt/graphite/files/requirements.txt
View file @
548f89a6
...
...
@@ -8,5 +8,7 @@ gunicorn
pytz
pyparsing
whisper
{%
if grains['os_family'] != 'RedHat' %}
carbon
==0.9.12
{%
endif %}
graphite-web
This diff is collapsed.
Click to expand it.
salt/graphite/virtualenv.sls
View file @
548f89a6
{% if grains['os_family'] == 'RedHat' %}
python-carbon:
pkg.installed
{% endif %}
virtualenv_graphite:
virtualenv.managed:
- name: /home/{{ pillar['graphite']['user'] }}/.virtualenvs/graphite
...
...
This diff is collapsed.
Click to expand it.
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