2022-05-25 15:14:15 +00:00
|
|
|
include:
|
|
|
|
- print.clone
|
|
|
|
|
|
|
|
require:
|
2022-07-12 00:34:15 +00:00
|
|
|
qvm.present:
|
|
|
|
- name: template-print
|
2022-05-25 15:14:15 +00:00
|
|
|
|
2021-02-11 15:38:08 +00:00
|
|
|
qvm-present-id:
|
|
|
|
qvm.present:
|
2022-05-16 16:18:36 +00:00
|
|
|
- name: sys-printer
|
2022-05-25 15:14:15 +00:00
|
|
|
- template: template-print
|
2021-02-11 15:38:08 +00:00
|
|
|
- label: gray
|
|
|
|
|
|
|
|
qvm-prefs-id:
|
|
|
|
qvm.prefs:
|
2022-05-16 16:18:36 +00:00
|
|
|
- name: sys-printer
|
2021-02-11 15:38:08 +00:00
|
|
|
- netvm: sys-firewall
|
|
|
|
|
|
|
|
qvm-features-id:
|
|
|
|
qvm.features:
|
2022-05-16 16:18:36 +00:00
|
|
|
- name: sys-printer
|
2021-02-11 15:38:08 +00:00
|
|
|
- disable:
|
|
|
|
- service.cups-browsed
|
|
|
|
- enable:
|
|
|
|
- service.cups
|
|
|
|
|
|
|
|
update_file:
|
|
|
|
file.prepend:
|
2022-05-16 16:18:36 +00:00
|
|
|
- name: '/etc/qubes/policy.d/30-user.policy'
|
|
|
|
- text: 'qubes.Print * @anyvm @anyvm ask default_target=sys-printer'
|