mirror of
https://github.com/unman/shaker.git
synced 2024-10-01 01:25:41 -04:00
Qubes print server - update to 4.1
This commit is contained in:
parent
84f5a3c212
commit
7a03c456d8
@ -7,9 +7,16 @@
|
||||
binds+=( '/etc/qubes-rpc/qubes.Print' )
|
||||
- makedirs: True
|
||||
|
||||
create_qrexec:
|
||||
file.managed:
|
||||
- name: /rw/bind-dirs/etc/qubes-rpc/qubes.Print
|
||||
- mode: 755
|
||||
- user: root
|
||||
- group: root
|
||||
- makedirs: True
|
||||
|
||||
/rw/bind-dirs/etc/qubes-rpc/qubes.Print:
|
||||
file.append:
|
||||
- text: |
|
||||
#!/bin/sh
|
||||
exec socat STDIO TCP:localhost:631
|
||||
- makedirs: True
|
||||
|
@ -1,5 +1,5 @@
|
||||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
||||
|
||||
base:
|
||||
printer:
|
||||
sys-printer:
|
||||
- print.configure
|
||||
|
@ -1,17 +1,17 @@
|
||||
qvm-present-id:
|
||||
qvm.present:
|
||||
- name: printer
|
||||
- template: debian-10
|
||||
- name: sys-printer
|
||||
- template: debian-11
|
||||
- label: gray
|
||||
|
||||
qvm-prefs-id:
|
||||
qvm.prefs:
|
||||
- name: printer
|
||||
- name: sys-printer
|
||||
- netvm: sys-firewall
|
||||
|
||||
qvm-features-id:
|
||||
qvm.features:
|
||||
- name: printer
|
||||
- name: sys-printer
|
||||
- disable:
|
||||
- service.cups-browsed
|
||||
- enable:
|
||||
@ -19,5 +19,5 @@ qvm-features-id:
|
||||
|
||||
update_file:
|
||||
file.prepend:
|
||||
- name: '/etc/qubes-rpc/policy/qubes.Print'
|
||||
- text: '@anyvm @anyvm ask,default_target=printer'
|
||||
- name: '/etc/qubes/policy.d/30-user.policy'
|
||||
- text: 'qubes.Print * @anyvm @anyvm ask default_target=sys-printer'
|
||||
|
Loading…
Reference in New Issue
Block a user