1
0
Fork 0
mirror of synced 2024-05-25 03:25:15 -04:00
formula-grafana/server.sls

35 lines
590 B
Plaintext
Raw Normal View History

2014-02-24 15:48:29 -05:00
{%- if pillar.grafana.server.enabled %}
include:
- git
- nodejs
/srv/grafana:
file:
- directory
- mode: 755
- makedirs: true
grafana_repository:
git.latest:
- name: https://github.com/torkelo/grafana.git
- rev: master
- target: /srv/grafana/site
- require:
- file: /srv/grafana
- pkg: git_packages
{#
/srv/grafana/sites/{{ app.name }}/config/configuration.yml:
file:
- managed
- source: salt://grafana/conf/configuration.yml
- template: jinja
- defaults:
app_name: "{{ app.name }}"
- require:
- hg: repo-{{ app.name }}
#}
{%- endif %}