mirror of
https://github.com/unman/shaker.git
synced 2024-10-01 01:25:41 -04:00
Qubes print server - use dedicated template.
Install hplips
This commit is contained in:
parent
31206db10c
commit
16ec0c5fb1
9
print/clone.sls
Normal file
9
print/clone.sls
Normal file
@ -0,0 +1,9 @@
|
||||
include:
|
||||
- template-debian-11-minimal
|
||||
|
||||
qvm-clone-id:
|
||||
qvm.clone:
|
||||
- require:
|
||||
- sls: template-debian-11-minimal
|
||||
- name: template-print
|
||||
- source: debian-11-minimal
|
4
print/clone.top
Normal file
4
print/clone.top
Normal file
@ -0,0 +1,4 @@
|
||||
base:
|
||||
dom0:
|
||||
- match: nodegroup
|
||||
- print.clone
|
@ -1,7 +1,13 @@
|
||||
include:
|
||||
- print.clone
|
||||
|
||||
require:
|
||||
- print.clone
|
||||
|
||||
qvm-present-id:
|
||||
qvm.present:
|
||||
- name: sys-printer
|
||||
- template: debian-11
|
||||
- template: template-print
|
||||
- label: gray
|
||||
|
||||
qvm-prefs-id:
|
||||
|
25
print/install.sls
Normal file
25
print/install.sls
Normal file
@ -0,0 +1,25 @@
|
||||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
||||
#
|
||||
|
||||
{% if salt['qvm.exists']('cacher') %}
|
||||
|
||||
/etc/apt/sources.list:
|
||||
file.replace:
|
||||
- names:
|
||||
- /etc/apt/sources.list
|
||||
- /etc/apt/sources.list.d/qubes-r4.list
|
||||
- pattern: 'https://'
|
||||
- repl: 'http://HTTPS///'
|
||||
- flags: [ 'IGNORECASE', 'MULTILINE' ]
|
||||
|
||||
{% endif %}
|
||||
|
||||
installed:
|
||||
pkg.installed:
|
||||
- pkgs:
|
||||
- qubes-core-agent-networking
|
||||
- qubes-core-agent-passwordless-root
|
||||
- cups
|
||||
- hplip
|
||||
- hplip-gui
|
||||
- simplescan
|
5
print/install.top
Normal file
5
print/install.top
Normal file
@ -0,0 +1,5 @@
|
||||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
||||
|
||||
base:
|
||||
template-print:
|
||||
- print.install
|
Loading…
Reference in New Issue
Block a user