Просмотр исходного кода

Merge pull request #8 from elemoine/data

Require reclass_data_dir
tags/2016.12
Aleš Komárek 8 лет назад
Родитель
Сommit
9835321d96
1 измененных файлов: 4 добавлений и 4 удалений
  1. +4
    -4
      salt/master/pillar.sls

+ 4
- 4
salt/master/pillar.sls Просмотреть файл

- reclass.storage.data - reclass.storage.data


/srv/salt/reclass/classes/service: /srv/salt/reclass/classes/service:
file.directory
file.directory:
- require:
- file: reclass_data_dir


{%- if master.system is defined %} {%- if master.system is defined %}


file.symlink: file.symlink:
- target: /srv/salt/env/{{ master.system.environment }}/{{ formula_name }}/metadata/service - target: /srv/salt/env/{{ master.system.environment }}/{{ formula_name }}/metadata/service
- require: - require:
- git: reclass_data_source
- file: /srv/salt/reclass/classes/service - file: /srv/salt/reclass/classes/service


{%- endfor %} {%- endfor %}
- target: /usr/share/salt-formulas/env/_formulas/{{ formula_name }}/metadata/service - target: /usr/share/salt-formulas/env/_formulas/{{ formula_name }}/metadata/service
{%- endif %} {%- endif %}
- require: - require:
- git: reclass_data_source
- file: /srv/salt/reclass/classes/service - file: /srv/salt/reclass/classes/service


{%- endif %} {%- endif %}


{%- endif %} {%- endif %}


{%- endif %}
{%- endif %}

Загрузка…
Отмена
Сохранить