mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-03-24 05:22:38 +01:00
Simplifies salt states, map files, and modules to only support Oracle Linux 9, removing all Debian/Ubuntu/CentOS/Rocky/AlmaLinux/RHEL conditional branches.
20 lines
665 B
Plaintext
20 lines
665 B
Plaintext
# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one
|
|
# or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at
|
|
# https://securityonion.net/license; you may not use this file except in compliance with the
|
|
# Elastic License 2.0.
|
|
|
|
{% if salt['pkg.version']('python3-dnf-plugin-versionlock') != "" %}
|
|
{% from 'versionlock/map.jinja' import VERSIONLOCKMERGED %}
|
|
{% for pkg in VERSIONLOCKMERGED.hold %}
|
|
{{pkg}}_held:
|
|
pkg.held:
|
|
- name: {{pkg}}
|
|
{% endfor %}
|
|
|
|
{% for pkg in VERSIONLOCKMERGED.UNHOLD %}
|
|
{{pkg}}_unheld:
|
|
pkg.unheld:
|
|
- name: {{pkg}}
|
|
{% endfor %}
|
|
{% endif %}
|