blob: 4583b04636a608f8949f4e9c2f5194ddd7138450 [file] [log] [blame]
{%- from "salt/map.jinja" import master with context %}
{%- if master.enabled %}
include:
- salt.master.service
salt_api_packages:
pkg.latest
- names:
- salt-api
- require:
- pkg: salt_master_packages
salt_api_service:
service.running:
- name: salt-api
- require:
- pkg: salt_api_packages
- watch:
- file: /etc/salt/master
{%- endif %}