mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-09-09 10:06:05 +02:00
Merge pull request #169 from smlloyd/master
Only watch salt-api package if install_packages=true
This commit is contained in:
+3
-1
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user