瀏覽代碼

Only watch salt-api package if install_packages=true

Also watch salt-api pkg instead of salt-master one.
tags/v0.57.0
Simon Lloyd 9 年之前
父節點
當前提交
02f7b279a1
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      salt/api.sls

+ 3
- 1
salt/api.sls 查看文件

- name: {{ salt_settings.api_service }} - name: {{ salt_settings.api_service }}
- require: - require:
- service: {{ salt_settings.master_service }} - service: {{ salt_settings.master_service }}
{% if salt_settings.install_packages %}
- watch: - watch:
- pkg: salt-master
- pkg: salt-api
{% endif %}

Loading…
取消
儲存