Przeglądaj źródła

Exclude require statement when install_packages is False.

The 'require' statement needs a list as input, but doesn't get
any input when install_packages is set to False.
master
Simon Lloyd 9 lat temu
rodzic
commit
462455ead9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      salt/ssh.sls

+ 1
- 1
salt/ssh.sls Wyświetl plik

@@ -11,7 +11,7 @@ ensure roster config:
- name: {{ salt_settings.config_path }}/roster
- source: salt://salt/files/roster.jinja
- template: jinja
- require:
{% if salt_settings.install_packages %}
- require:
- pkg: ensure salt-ssh is installed
{% endif %}

Ładowanie…
Anuluj
Zapisz