Kaynağa Gözat

Fix syndic requisites

The syndic service was depending upon itself, which caused the salt run
to fail. This commit fixes that by depending on the salt-master service
rather than the salt-syndic service. I also made it more general by
using IDs to specify the provider rather than the name, which is a bit
less reliable.
tags/v0.57.0
Devin Christensen 9 yıl önce
ebeveyn
işleme
8479111cbd
1 değiştirilmiş dosya ile 3 ekleme ve 4 silme
  1. +3
    -4
      salt/syndic.sls

+ 3
- 4
salt/syndic.sls Dosyayı Görüntüle

@@ -8,12 +8,11 @@ salt-syndic:
pkg.installed:
- name: {{ salt_settings.salt_syndic }}
{% endif %}
service:
- running
service.running
- require:
- service: {{ salt_settings.syndic_service }}
- service: salt-master
- watch:
{% if salt_settings.install_packages %}
- pkg: salt-master
{% endif %}
- file: {{ salt_settings.config_path }}/master
- file: salt-master

Yükleniyor…
İptal
Kaydet