2021-02-05 10:51:19 -05:00
|
|
|
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
|
|
|
|
2023-02-21 07:57:17 -05:00
|
|
|
{% if salt['pillar.get']('update_proxy:caching') %}
|
2024-02-06 22:40:32 -05:00
|
|
|
{% if grains['os_family']|lower == 'debian' %}
|
|
|
|
{% if grains['nodename']|lower != 'host' %}
|
|
|
|
{% for repo in salt['file.find']('/etc/apt/sources.list.d/', name='*list') %}
|
|
|
|
{{ repo }}_baseurl:
|
|
|
|
file.replace:
|
|
|
|
- name: {{ repo }}
|
|
|
|
- pattern: 'https://'
|
|
|
|
- repl: 'http://HTTPS///'
|
|
|
|
- flags: [ 'IGNORECASE', 'MULTILINE' ]
|
|
|
|
- backup: False
|
|
|
|
|
|
|
|
{% endfor %}
|
2021-02-05 10:51:19 -05:00
|
|
|
|
2022-05-15 11:14:04 -04:00
|
|
|
/etc/apt/sources.list:
|
2021-02-05 10:51:19 -05:00
|
|
|
file.replace:
|
2024-02-06 22:40:32 -05:00
|
|
|
- name: /etc/apt/sources.list
|
2021-02-05 10:51:19 -05:00
|
|
|
- pattern: 'https:'
|
|
|
|
- repl: 'http://HTTPS/'
|
|
|
|
- flags: [ 'IGNORECASE', 'MULTILINE' ]
|
2024-02-06 22:40:32 -05:00
|
|
|
- backup: False
|
2021-02-05 10:51:19 -05:00
|
|
|
|
2022-05-15 11:14:04 -04:00
|
|
|
{% endif %}
|
2024-02-06 22:40:32 -05:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2021-02-05 10:51:19 -05:00
|
|
|
|
|
|
|
installed:
|
|
|
|
pkg.installed:
|
|
|
|
- pkgs:
|
|
|
|
- qubes-gpg-split
|
|
|
|
- gnupg
|
|
|
|
- keepassxc
|