shaker/print/create.sls
2022-07-12 00:34:15 +00:00

31 lines
551 B
Plaintext

include:
- print.clone
require:
qvm.present:
- name: template-print
qvm-present-id:
qvm.present:
- name: sys-printer
- template: template-print
- label: gray
qvm-prefs-id:
qvm.prefs:
- name: sys-printer
- netvm: sys-firewall
qvm-features-id:
qvm.features:
- name: sys-printer
- disable:
- service.cups-browsed
- enable:
- service.cups
update_file:
file.prepend:
- name: '/etc/qubes/policy.d/30-user.policy'
- text: 'qubes.Print * @anyvm @anyvm ask default_target=sys-printer'