mirror of
https://github.com/unman/shaker.git
synced 2024-12-28 08:49:26 -05:00
31 lines
551 B
Plaintext
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'
|