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

@@ -86,7 +86,8 @@
'so-manager': [
'salt.master',
'salt.cloud',
'libvirt',
'libvirt.packages',
'libvirt.ssh.users',
'ca',
'ssl',
'registry',
@@ -208,7 +209,8 @@
'schedule',
'docker_clean',
'stig',
'hypervisor'
'hypervisor',
'libvirt'
],
'so-desktop': [
'ssl',

View File

@@ -10,7 +10,7 @@
# software that is protected by the license key."
{% from 'allowed_states.map.jinja' import allowed_states %}
{% if sls.split('.')[0] in allowed_states %}
{% if sls.split('.')[0] in allowed_states or sls in allowed_states %}
{% if 'hvn' in salt['pillar.get']('features', []) %}
# allows for creating vm images

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 %}

View File

@@ -275,6 +275,7 @@ base:
- firewall
- elasticfleet.install_agent_grid
- libvirt
- libvirt.images
- stig
'*_desktop and G@saltversion:{{saltversion}}':