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': [
|
'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',
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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 %}
|
||||||
|
|
||||||
|
|||||||
@@ -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}}':
|
||||||
|
|||||||
Reference in New Issue
Block a user