Split GPG - update to 4.1

This commit is contained in:
unman 2022-05-15 15:14:04 +00:00
parent 8a9a1310c8
commit d31b57eab5
No known key found for this signature in database
GPG key ID: FDD1B8244731B36C
3 changed files with 11 additions and 17 deletions

View file

@ -1,12 +1,12 @@
include: include:
- template-debian-10-minimal - template-debian-11-minimal
qvm-clone-id: qvm-clone-id:
qvm.clone: qvm.clone:
- require: - require:
- sls: template-debian-10-minimal - sls: template-debian-11-minimal
- name: template-gpg - name: template-gpg
- source: debian-10-minimal - source: debian-11-minimal
'sudo qubes-dom0-update qubes-gpg-split-dom0': 'sudo qubes-dom0-update qubes-gpg-split-dom0':
cmd.run cmd.run

View file

@ -27,6 +27,5 @@ qvm-features-id:
update_file: update_file:
file.prepend: file.prepend:
- name: '/etc/qubes-rpc/policy/qubes.Gpg' - name: '/etc/qubes/policy.d/30-user.policy'
- text: '@anyvm @anyvm ask,default_target=gpg' - text: 'qubes.Gpg * @anyvm @anyvm ask default_target=gpg'

View file

@ -1,22 +1,17 @@
# vim: set syntax=yaml ts=2 sw=2 sts=2 et : # vim: set syntax=yaml ts=2 sw=2 sts=2 et :
{% if salt['qvm.exists']('cacher') %}
/etc/apt/sources.list: /etc/apt/sources.list:
file.replace: file.replace:
- names:
- /etc/apt/sources.list
- /etc/apt/sources.list.d/qubes-r4.list
- pattern: 'https:' - pattern: 'https:'
- repl: 'http://HTTPS/' - repl: 'http://HTTPS/'
- flags: [ 'IGNORECASE', 'MULTILINE' ] - flags: [ 'IGNORECASE', 'MULTILINE' ]
/etc/apt/sources.list.d/qubes-r4.list: {% endif %}
file.replace:
- pattern: 'https:'
- repl: 'http://HTTPS/'
- flags: [ 'IGNORECASE', 'MULTILINE' ]
allow-testing:
file.uncomment:
- name: /etc/apt/sources.list.d/qubes-r4.list
- regex: ^deb\s.*qubes-os.org.*-testing
- backup: false
installed: installed:
pkg.installed: pkg.installed: