瀏覽代碼

Have salt-api service watch the master config files

The salt-api service is configured using the master config files but is
not restarted when the master is restarted. We need the salt-api service
to watch the master config files to ensure that any config changes are
picked up.
master
John Kristensen 8 年之前
父節點
當前提交
43663fec1b
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      salt/api.sls

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

@@ -13,7 +13,8 @@ salt-api:
- name: {{ salt_settings.api_service }}
- require:
- service: {{ salt_settings.master_service }}
{% if salt_settings.install_packages %}
- watch:
{% if salt_settings.install_packages %}
- pkg: salt-api
{% endif %}
- file: salt-master

Loading…
取消
儲存