2
0
salt-formula/salt/api.sls
2015-03-08 00:01:28 +01:00

15 lines
330 B
Plaintext

{% from "salt/map.jinja" import salt with context %}
include:
- salt.master
salt-api:
pkg.installed:
- name: {{ salt['salt-api'] }}
service.running:
- name: {{ salt.get('api-service', 'salt-api') }}
- require:
- service: {{ salt.get('api-service', 'salt-master') }}
- watch:
- pkg: salt-master