shaker/print/create.sls

30 lines
525 B
Plaintext
Raw Normal View History

include:
- print.clone
require:
- print.clone
2021-02-11 10:38:08 -05:00
qvm-present-id:
qvm.present:
2022-05-16 12:18:36 -04:00
- name: sys-printer
- 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'