2
0
salt-formula/salt/windows-excluded.sls
Daniel Dehennin 928b1a7c29 refactor(salt-master): move to subcomponents
Add a verifier in each sls to exclude windows platform.
2022-02-09 08:29:26 +01:00

16 lines
548 B
Plaintext

# -*- coding: utf-8 -*-
# vim: ft=sls
{%- if grains.kernel == 'Windows' %}
salt-windows-excluded-test.fail_without_changes:
test.fail_without_changes:
- name: Verify that current platform is not Windows
- comment: Platform Windows is not supported
{%- else %}
{#- Workaround https://github.com/saltstack/salt/issues/10852 #}
salt-windows-excluded-test.succeed_without_changes:
test.succeed_without_changes:
- name: Verify that current platform is not Windows
- comment: Platform {{ grains.kernel }} is supported
{%- endif %}