1
0
Fork 0
mirror of synced 2024-11-22 08:55:35 -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:
pkgs:
- grafana
service: grafana-server
bind:
address: 0.0.0.0
port: 3000

View file

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