Skip to content
Snippets Groups Projects
Commit 37e49aa7 authored by wonko's avatar wonko
Browse files

typo in model uri for printer

made cups packages a requirement for printerwq
parent ed384fa8
Branches
No related tags found
No related merge requests found
......@@ -92,11 +92,6 @@ class desktop {
'fonts-crosextra-carlito',
'fonts-crosextra-caladea',
'florence',
'avahi-utils',
'avahi-daemon',
'libnss-mdns',
'cups',
'hplip',
]
package { $packages:
......@@ -231,20 +226,18 @@ class desktop {
uri => "dnssd://mfp01._ipp_tcp.local/",
description => "mfp01",
location => "here",
require => [
Package['avahi-utils'],
Package['avahi-daemon'],
Package['libnss-mdns'],
Package['cups'],
Package['hplip'],
],
model => "drv://hpcups.drv/hp-deskjet_990c.ppd",
shared => false, # Printer will be shared and published by CUPS
error_policy => abort_job, # underscored version of error policy
enabled => true, # Enabled by default
page_size => 'A4',
# Printer driver/description
model => "drv://hpcups.drv/hp-deskjet_990c.ppd", # A valid model, you can list these with lpinfo -m, this is usually what you would call a
shared => false, # Printer will be shared and published by CUPS
error_policy => abort_job, # underscored version of error policy
enabled => true, # Enabled by default
#options => { }, # Hash of options ( name => value ), supplied as -o flag to lpadmin.
# Vendor/driver options
page_size => 'A4',
#duplex => '',
# AND Any other custom driver specific option...
#ppd_options => { 'HPOption_Duplexer' => 'False' }, # Hash of vendor PPD options, set on creation.
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment