Browse Source

Merge pull request #24 from tcpcloud/syndic

Syndic service updates
tags/mcp0.5
Aleš Komárek 8 years ago
parent
commit
c1cebde75c
2 changed files with 9 additions and 1 deletions
  1. +2
    -0
      salt/map.jinja
  2. +7
    -1
      salt/syndic.sls

+ 2
- 0
salt/map.jinja View File



{%- load_yaml as syndic_defaults %} {%- load_yaml as syndic_defaults %}
Debian: Debian:
service: salt-syndic
pkgs: pkgs:
- salt-syndic - salt-syndic
RedHat: RedHat:
service: salt-syndic
pkgs: pkgs:
- salt-syndic - salt-syndic
{%- endload %} {%- endload %}

+ 7
- 1
salt/syndic.sls View File

- template: jinja - template: jinja
- watch_in: - watch_in:
- service: salt_master_service - service: salt_master_service
- service: salt_syndic_service


{%- endif %}
salt_syndic_service:
service.running:
- name: {{ syndic.service }}
- enable: true

{%- endif %}

Loading…
Cancel
Save