- {% set app_v = salt['grains.get']('app', '') %}
- {% set app_version = '60' %}
- # Deploy the App config file
- /var/app/app.config:
- file.managed:
- - mode: '0644'
- - template: jinja
- {% if '{{ app_v }}' == '{{ app_version }}' %}
- - source: salt://repo/var/app/app.config.{{ app_version }}
- {% endif %}