dont run workstation.trusted-ca if not connected to grid

This commit is contained in:
m0duspwnens
2022-04-01 11:05:34 -04:00
parent e3f3af52e1
commit e14463c0ab

View File

@@ -1,3 +1,7 @@
include:
- workstation.xwindows
{# If the master is 'salt' then the minion hasn't been configured and isn't connected to the grid. #}
{# We need this since the trusted-ca state uses mine data. #}
{% if grains.master != 'salt' %}
- workstation.trusted-ca
{% endif %}