Added bsd printing commands to cups::client on Ubuntu.

This commit is contained in:
Timo Mkinen 2013-04-19 11:58:53 +03:00
parent bf8c9d9e62
commit 70219ad874

View file

@ -20,7 +20,7 @@ class cups::client {
}
case $::operatingsystem {
openbsd: {
"openbsd": {
exec { "cups-enable":
command => $::operatingsystemrelease ? {
/4\.[1-8]/ => "echo y | cups-enable",
@ -40,6 +40,11 @@ class cups::client {
require => Exec["cups-enable"],
}
}
"ubuntu": {
package { "cups-bsd":
ensure => installed,
}
}
}
service { "cups":