From a430a47a3045e24a91ab9ac154eeef74f61a57e2 Mon Sep 17 00:00:00 2001 From: Josh Patterson Date: Wed, 21 May 2025 14:45:34 -0400 Subject: [PATCH] fix allowed_states check --- salt/salt/cloud/config.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/salt/cloud/config.sls b/salt/salt/cloud/config.sls index 0456c34dc..dfbfda56b 100644 --- a/salt/salt/cloud/config.sls +++ b/salt/salt/cloud/config.sls @@ -10,7 +10,7 @@ # software that is protected by the license key." {% from 'allowed_states.map.jinja' import allowed_states %} -{% if sls in allowed_states %} +{% if '.'.join(sls.split('.')[:2]) in allowed_states %} {% if 'vrt' in salt['pillar.get']('features', []) %} {% set HYPERVISORS = salt['pillar.get']('hypervisor:nodes', {} ) %}