Parcourir la source

Merge pull request #8 from elemoine/data

Require reclass_data_dir
tags/2016.12
Aleš Komárek il y a 8 ans
Parent
révision
9835321d96
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. +4
    -4
      salt/master/pillar.sls

+ 4
- 4
salt/master/pillar.sls Voir le fichier

@@ -37,7 +37,9 @@ include:
- reclass.storage.data

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

{%- if master.system is defined %}

@@ -47,7 +49,6 @@ include:
file.symlink:
- target: /srv/salt/env/{{ master.system.environment }}/{{ formula_name }}/metadata/service
- require:
- git: reclass_data_source
- file: /srv/salt/reclass/classes/service

{%- endfor %}
@@ -68,7 +69,6 @@ include:
- target: /usr/share/salt-formulas/env/_formulas/{{ formula_name }}/metadata/service
{%- endif %}
- require:
- git: reclass_data_source
- file: /srv/salt/reclass/classes/service

{%- endif %}
@@ -81,4 +81,4 @@ include:

{%- endif %}

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

Chargement…
Annuler
Enregistrer