Enforce service
This commit is contained in:
parent
ee16ca7c4d
commit
83b58af7d4
2 changed files with 9 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
Debian:
|
||||
pkgs:
|
||||
- grafana
|
||||
service: grafana-server
|
||||
bind:
|
||||
address: 0.0.0.0
|
||||
port: 3000
|
||||
|
|
|
@ -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 %}
|
Loading…
Reference in a new issue