Bug 40573 - Add testcase for cups/printmode/hosts/none
Add testcase for cups/printmode/hosts/none
Status: NEW
Product: UCS Test
Classification: Unclassified
Component: Printserver
unspecified
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-03 19:35 CET by Arvid Requate
Modified: 2018-04-14 13:34 CEST (History)
5 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2016-02-03 19:35:38 CET
We need a test for cups/printmode/hosts/none.

TODO:

0. Install univention-printserver on some UCS test system (probably where the test is run)

1. On the "server" system set cups/printmode/hosts/none to the IP of the "client" and reload cups

2. Install univention-printclient on some other UCS "client" system (memberserver) and set cups/server to point to the "server" system and attempt to print


Maybe the simplest setup would be to use the DC Master as the print client for this:
============================================================================
## roles:
## - memberserver ## or domaincontroller_slave
## packages:
##  - univention-printserver
#
# 1. Step: ucr set cups/printmode/hosts/none=<master IP>; service cups reload
# 2. Step: univention-ssh to master to univention-install univention-printclient
#          and set cups/server to point to the memberserver/slave
#          and attempt to print
============================================================================

(The next best idea would be to create a "client" memberserver in a docker container).