mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-21 12:12:26 +02:00
allow users to lock pkgs from upgrade
This commit is contained in:
13
salt/versionlock/init.sls
Normal file
13
salt/versionlock/init.sls
Normal file
@@ -0,0 +1,13 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user