More robust test for cups-enable on OpenBSD.
This commit is contained in:
parent
bd64cd7545
commit
c750617b7a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class cups::client {
|
||||||
command => "echo y | cups-enable",
|
command => "echo y | cups-enable",
|
||||||
path => "/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin",
|
path => "/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin",
|
||||||
user => root,
|
user => root,
|
||||||
unless => "readlink /usr/bin/lpr | egrep '^/usr/local/bin/lpr$'",
|
creates => "/usr/bin/lpr.pre-cups",
|
||||||
require => Package["cups"],
|
require => Package["cups"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue