|
|
@@ -15,12 +15,16 @@ include: |
|
|
|
- file: /srv/salt/env |
|
|
|
- pkg: git_packages |
|
|
|
|
|
|
|
{%- if master.system is defined %} |
|
|
|
|
|
|
|
/srv/salt/env/{{ master.system.environment }}/top.sls: |
|
|
|
file.symlink: |
|
|
|
- target: /srv/salt/pillar/files_top.sls |
|
|
|
- require: |
|
|
|
- file: /srv/salt/env/{{ master.system.environment }} |
|
|
|
|
|
|
|
{%- endif %} |
|
|
|
|
|
|
|
{%- elif master.pillar.engine == 'reclass' %} |
|
|
|
|
|
|
|
include: |
|
|
@@ -29,7 +33,6 @@ include: |
|
|
|
/srv/salt/reclass/classes/service: |
|
|
|
file.directory |
|
|
|
|
|
|
|
|
|
|
|
{%- if master.system is defined %} |
|
|
|
|
|
|
|
{%- for formula_name, formula in master.system.get('formula', {}).iteritems() %} |
|
|
@@ -68,8 +71,7 @@ include: |
|
|
|
|
|
|
|
{%- endfor %} |
|
|
|
|
|
|
|
{%-endif %} |
|
|
|
|
|
|
|
{%- endif %} |
|
|
|
|
|
|
|
{%- endif %} |
|
|
|
|