Added bsd printing commands to cups::client on Ubuntu.
This commit is contained in:
parent
bf8c9d9e62
commit
70219ad874
1 changed files with 6 additions and 1 deletions
|
@ -20,7 +20,7 @@ class cups::client {
|
||||||
}
|
}
|
||||||
|
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
openbsd: {
|
"openbsd": {
|
||||||
exec { "cups-enable":
|
exec { "cups-enable":
|
||||||
command => $::operatingsystemrelease ? {
|
command => $::operatingsystemrelease ? {
|
||||||
/4\.[1-8]/ => "echo y | cups-enable",
|
/4\.[1-8]/ => "echo y | cups-enable",
|
||||||
|
@ -40,6 +40,11 @@ class cups::client {
|
||||||
require => Exec["cups-enable"],
|
require => Exec["cups-enable"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
"ubuntu": {
|
||||||
|
package { "cups-bsd":
|
||||||
|
ensure => installed,
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
service { "cups":
|
service { "cups":
|
||||||
|
|
Loading…
Add table
Reference in a new issue