mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-12-01 06:21:18 +01:00
16 lines
363 B
Plaintext
16 lines
363 B
Plaintext
{% from "salt/package-map.jinja" import pkgs with context %}
|
|
|
|
include:
|
|
- salt.master
|
|
|
|
salt-syndic:
|
|
pkg.installed:
|
|
- name: {{ pkgs['salt-syndic'] }}
|
|
service:
|
|
- running
|
|
- require:
|
|
- service: {{ pkgs.get('syndic-service', 'salt-master') }}
|
|
- watch:
|
|
- pkg: salt-master
|
|
- file: {{ pkgs.get('config-path', '/etc/salt') }}/master
|