cups: Fixed system-config-printer installation for Ubuntu.

This commit is contained in:
Timo Makinen 2015-06-09 15:02:14 +03:00
parent 29b570ca6b
commit 9923a1c676

View file

@ -76,7 +76,14 @@ class cups::server($admin_group=undef, $manager_group=undef,
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,
}