add libvirt state to highstate for hypervisor. update allowed_states for libvirt

This commit is contained in:
m0duspwnens
2025-01-16 17:46:20 -05:00
parent a274bfb744
commit 24eadf2507
4 changed files with 7 additions and 4 deletions

View File

@@ -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 sls.split('.')[0] in allowed_states or sls in allowed_states %}
{% if 'hvn' in salt['pillar.get']('features', []) %}
{% from 'vars/globals.map.jinja' import GLOBALS %}