cups: Fixed system-config-printer installation for Ubuntu.
This commit is contained in:
parent
29b570ca6b
commit
9923a1c676
1 changed files with 8 additions and 1 deletions
|
@ -76,7 +76,14 @@ class cups::server($admin_group=undef, $manager_group=undef,
|
||||||
|
|
||||||
require ssl
|
require ssl
|
||||||
|
|
||||||
package { [ "ghostscript", "system-config-printer" ]:
|
package { "system-config-printer":
|
||||||
|
ensure => installed,
|
||||||
|
name => $::operatingsystem ? {
|
||||||
|
"ubuntu" => "system-config-printer-gnome",
|
||||||
|
default => "system-config-printer",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
package { "ghostscript":
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue