mirror of
https://github.com/unman/shaker.git
synced 2025-04-18 22:45:56 -04:00
i2p - rewrite list file for use with cacher, if needed
This commit is contained in:
parent
a40fd44d35
commit
18fab866c1
@ -49,6 +49,16 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if salt['pillar.get']('update_proxy:caching') %}
|
||||
i2p_list_cacher:
|
||||
file.replace:
|
||||
- name: /etc/apt/sources.list.d/i2p.list
|
||||
- pattern: 'https://'
|
||||
- repl: 'http://HTTPS///'
|
||||
- flags: [ 'IGNORECASE', 'MULTILINE' ]
|
||||
- backup: False
|
||||
{% endif %}
|
||||
|
||||
upgrade:
|
||||
pkg.uptodate:
|
||||
- refresh: True
|
||||
@ -56,11 +66,11 @@ upgrade:
|
||||
|
||||
install:
|
||||
pkg.installed:
|
||||
- refresh: True
|
||||
- pkgs:
|
||||
- qubes-core-agent-networking
|
||||
- firefox-esr
|
||||
- i2p
|
||||
- i2p-keyring
|
||||
- refresh: True
|
||||
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user