Merge pull request #8 from elemoine/data
Require reclass_data_dir
diff --git a/salt/master/pillar.sls b/salt/master/pillar.sls
index 45dec09..3e2e715 100644
--- a/salt/master/pillar.sls
+++ b/salt/master/pillar.sls
@@ -37,7 +37,9 @@
- 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 @@
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 @@
- 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 @@
{%- endif %}
-{%- endif %}
\ No newline at end of file
+{%- endif %}