瀏覽代碼

Syndic service

tags/mcp0.5
Ales Komarek 7 年之前
父節點
當前提交
dec3101da7
共有 2 個文件被更改,包括 9 次插入1 次删除
  1. +2
    -0
      salt/map.jinja
  2. +7
    -1
      salt/syndic.sls

+ 2
- 0
salt/map.jinja 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存