|
|
|
|
|
|
|
|
- file: /srv/salt/env |
|
|
- file: /srv/salt/env |
|
|
- pkg: git_packages |
|
|
- pkg: git_packages |
|
|
|
|
|
|
|
|
|
|
|
{%- if master.system is defined %} |
|
|
|
|
|
|
|
|
/srv/salt/env/{{ master.system.environment }}/top.sls: |
|
|
/srv/salt/env/{{ master.system.environment }}/top.sls: |
|
|
file.symlink: |
|
|
file.symlink: |
|
|
- target: /srv/salt/pillar/files_top.sls |
|
|
- target: /srv/salt/pillar/files_top.sls |
|
|
- require: |
|
|
- require: |
|
|
- file: /srv/salt/env/{{ master.system.environment }} |
|
|
- file: /srv/salt/env/{{ master.system.environment }} |
|
|
|
|
|
|
|
|
|
|
|
{%- endif %} |
|
|
|
|
|
|
|
|
{%- elif master.pillar.engine == 'reclass' %} |
|
|
{%- elif master.pillar.engine == 'reclass' %} |
|
|
|
|
|
|
|
|
include: |
|
|
include: |
|
|
|
|
|
|
|
|
/srv/salt/reclass/classes/service: |
|
|
/srv/salt/reclass/classes/service: |
|
|
file.directory |
|
|
file.directory |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{%- if master.system is defined %} |
|
|
{%- if master.system is defined %} |
|
|
|
|
|
|
|
|
{%- for formula_name, formula in master.system.get('formula', {}).iteritems() %} |
|
|
{%- for formula_name, formula in master.system.get('formula', {}).iteritems() %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{%- endfor %} |
|
|
{%- endfor %} |
|
|
|
|
|
|
|
|
{%-endif %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{%- endif %} |
|
|
|
|
|
|
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
|
|
|
|