mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
install python3-dnf-plugin-versionlock on vm before first highstate
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
# we cannot import GLOBALS from vars/globals.map.jinja in this state since it is called in setup.virt.init
|
||||||
|
# since it is early in setup of a new VM, the pillars imported in GLOBALS are not yet defined
|
||||||
{% if GLOBALS.os_family == 'Debian' %}
|
{% if grains.os_family == 'Debian' %}
|
||||||
commonpkgs:
|
commonpkgs:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- skip_suggestions: True
|
- skip_suggestions: True
|
||||||
@@ -45,7 +45,7 @@ python-rich:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if GLOBALS.os_family == 'RedHat' %}
|
{% if grains.os_family == 'RedHat' %}
|
||||||
|
|
||||||
remove_mariadb:
|
remove_mariadb:
|
||||||
pkg.removed:
|
pkg.removed:
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
include:
|
include:
|
||||||
- setup.virt.setHostname
|
- setup.virt.setHostname
|
||||||
- setup.virt.sominion
|
- setup.virt.sominion
|
||||||
|
- common.packages # python3-dnf-plugin-versionlock
|
||||||
- setup.virt.setSalt
|
- setup.virt.setSalt
|
||||||
|
|||||||
Reference in New Issue
Block a user