Browse Source

Syndic service

tags/mcp0.5
Ales Komarek 7 years ago
parent
commit
dec3101da7
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

@@ -49,9 +49,11 @@ RedHat:

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

+ 7
- 1
salt/syndic.sls View File

@@ -15,5 +15,11 @@ salt_syndic_packages:
- template: jinja
- watch_in:
- service: salt_master_service
- service: salt_syndic_service

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

{%- endif %}

Loading…
Cancel
Save