1
0
Fork 0
mirror of synced 2024-11-22 17:05:34 -05:00

Enforce service

This commit is contained in:
Ales Komarek 2015-12-08 10:26:39 +01:00
parent ee16ca7c4d
commit 83b58af7d4
2 changed files with 9 additions and 0 deletions

View file

@ -3,6 +3,7 @@
Debian: Debian:
pkgs: pkgs:
- grafana - grafana
service: grafana-server
bind: bind:
address: 0.0.0.0 address: 0.0.0.0
port: 3000 port: 3000

View file

@ -14,4 +14,12 @@ grafana_packages:
- require: - require:
- pkg: grafana_packages - pkg: grafana_packages
grafana_service:
service.running:
- name: {{ server.service }}
- enable: true
- reload: true
- watch:
- file: /etc/grafana/grafana.ini
{%- endif %} {%- endif %}