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