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 {
|
||||
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":
|
||||
|
|
Loading…
Add table
Reference in a new issue