Merge pull request #169 from smlloyd/master

Only watch salt-api package if install_packages=true
This commit is contained in:
puneet kandhari 2015-08-08 11:53:21 -05:00
commit 16ed1bd334
1 changed files with 3 additions and 1 deletions

View File

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