mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-29 04:13:13 +01:00
Reference: https://www.stigviewer.com/stig/red_hat_enterprise_linux_7/2020-09-03/finding/V-204452
18 lines
666 B
Django/Jinja
18 lines
666 B
Django/Jinja
[main]
|
|
cachedir=/var/cache/yum/$basearch/$releasever
|
|
keepcache=0
|
|
debuglevel=2
|
|
logfile=/var/log/yum.log
|
|
exactarch=1
|
|
obsoletes=1
|
|
gpgcheck=1
|
|
plugins=1
|
|
installonly_limit={{ salt['pillar.get']('yum:config:installonly_limit', 2) }}
|
|
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
|
|
distroverpkg=centos-release
|
|
clean_requirements_on_remove=1
|
|
|
|
{% if (grains['role'] not in ['so-eval','so-managersearch', 'so-manager', 'so-standalone']) and salt['pillar.get']('global:managerupdate', '0') %}
|
|
proxy=http://{{ salt['pillar.get']('yum:config:proxy', salt['config.get']('master')) }}:3142
|
|
{% endif %}
|