mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-27 22:38:10 +01:00
fix(windows): dont run master state
This commit is contained in:
parent
2dcd0c80ef
commit
a36f2eb2d2
@ -6,7 +6,7 @@ include:
|
||||
{%- if salt.config.get('salt_formulas:list') %}
|
||||
- salt.formulas
|
||||
{%- endif %}
|
||||
{%- if salt.config.get('salt:master')|length > 1 %}
|
||||
{%- if salt.config.get('salt:master')|length > 1 and grains.kernel != 'Windows' %}
|
||||
- salt.master
|
||||
{%- endif %}
|
||||
{%- if salt.config.get('salt:cloud')|length > 1 %}
|
||||
|
@ -7,6 +7,8 @@ include:
|
||||
- .pin
|
||||
{% endif %}
|
||||
|
||||
{%- if grains.kernel != 'Windows' %}
|
||||
|
||||
{%- if grains.os == 'MacOS' %}
|
||||
salt-master-macos:
|
||||
file.managed:
|
||||
@ -75,3 +77,12 @@ remove-default-master-conf-file:
|
||||
remove-old-master-conf-file:
|
||||
file.absent:
|
||||
- name: {{ salt_settings.config_path }}/master.d/_defaults.conf
|
||||
|
||||
{%- else %}
|
||||
|
||||
salt-master-install-skip:
|
||||
test.show_notification:
|
||||
- text: |
|
||||
No salt-master state for Windows
|
||||
|
||||
{%- endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user