mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-19 07:23:06 +01:00
add libvirt state to highstate for hypervisor. update allowed_states for libvirt
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
|
||||
@@ -275,6 +275,7 @@ base:
|
||||
- firewall
|
||||
- elasticfleet.install_agent_grid
|
||||
- libvirt
|
||||
- libvirt.images
|
||||
- stig
|
||||
|
||||
'*_desktop and G@saltversion:{{saltversion}}':
|
||||
|
||||
Reference in New Issue
Block a user