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

View File

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

View File

@@ -10,7 +10,7 @@
# software that is protected by the license key." # software that is protected by the license key."
{% from 'allowed_states.map.jinja' import allowed_states %} {% 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', []) %} {% if 'hvn' in salt['pillar.get']('features', []) %}
{% from 'vars/globals.map.jinja' import GLOBALS %} {% from 'vars/globals.map.jinja' import GLOBALS %}

View File

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