mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Fix acng config and don't show changes when proxy string can exist in file
This commit is contained in:
@@ -91,6 +91,6 @@ PassThroughPattern: (repo\.securityonion\.net:443|download\.docker\.com:443|mirr
|
|||||||
# MaxInresponsiveDlSize: 64000
|
# MaxInresponsiveDlSize: 64000
|
||||||
# BadRedirDetectMime: text/html
|
# BadRedirDetectMime: text/html
|
||||||
{% set proxy = salt['pillar.get']('manager:proxy') -%}
|
{% set proxy = salt['pillar.get']('manager:proxy') -%}
|
||||||
{{ if proxy }}
|
{% if proxy %}
|
||||||
Proxy: {{ proxy }}
|
Proxy: {{ proxy }}
|
||||||
{{ endif }}
|
{% endif %}
|
||||||
|
|||||||
@@ -61,6 +61,8 @@ acngcopyconf:
|
|||||||
file.managed:
|
file.managed:
|
||||||
- name: /opt/so/conf/aptcacher-ng/etc/acng.conf
|
- name: /opt/so/conf/aptcacher-ng/etc/acng.conf
|
||||||
- source: salt://manager/files/acng/acng.conf
|
- source: salt://manager/files/acng/acng.conf
|
||||||
|
- template: jinja
|
||||||
|
- show_changes: False
|
||||||
|
|
||||||
# Install the apt-cacher-ng container
|
# Install the apt-cacher-ng container
|
||||||
so-aptcacherng:
|
so-aptcacherng:
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ yumconf:
|
|||||||
- source: salt://repo/client/files/centos/yum.conf.jinja
|
- source: salt://repo/client/files/centos/yum.conf.jinja
|
||||||
- mode: 644
|
- mode: 644
|
||||||
- template: jinja
|
- template: jinja
|
||||||
|
- show_changes: False
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
cleanyum:
|
cleanyum:
|
||||||
|
|||||||
Reference in New Issue
Block a user