Browse Source

Merge pull request #169 from smlloyd/master

Only watch salt-api package if install_packages=true
master
puneet kandhari 9 years ago
parent
commit
16ed1bd334
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      salt/api.sls

+ 3
- 1
salt/api.sls View File

- 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…
Cancel
Save