install python3-dnf-plugin-versionlock on vm before first highstate

This commit is contained in:
m0duspwnens
2025-01-29 04:08:30 -05:00
parent 87136e9e2b
commit 8b3f310212
2 changed files with 5 additions and 4 deletions

View File

@@ -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:

View File

@@ -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