Bug 44874 - New check `check_ucr_templates.py`
New check `check_ucr_templates.py`
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - System diagnostic
UCS 4.2
Other Linux
: P5 enhancement (vote)
: UCS 4.2-2-errata
Assigned To: Lukas Oyen
Jürn Brodersen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-27 16:30 CEST by Lukas Oyen
Modified: 2017-11-02 15:26 CET (History)
2 users (show)

See Also:
What kind of report is it?: Feature Request
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:
best: Patch_Available+


Attachments
nt-diagnostic-blocked-ucr-templates-421.patch (10.22 KB, patch)
2017-06-27 16:30 CEST, Lukas Oyen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Oyen univentionstaff 2017-06-27 16:30:41 CEST
Created attachment 8972 [details]
nt-diagnostic-blocked-ucr-templates-421.patch

Adds a new diagnostic check `check_ucr_templates.py` which runs univention-check-templates. This is based on `check_blocked_ucr_templates.py written by Julian Hupertz.
Comment 1 Lukas Oyen univentionstaff 2017-08-01 16:34:33 CEST
Committed in r81634 - r81636 (advisory r81649).
Comment 2 Jürn Brodersen univentionstaff 2017-08-30 14:19:43 CEST
Looks good :)

What I tested:
Edited "/etc/univention/templates/files/etc/krb5.conf", the check warns me about that file -> OK

YAML -> OK

A diff would be nice, but I think that's not really possible at the moment.
Comment 3 Erik Damrose univentionstaff 2017-09-20 15:03:58 CEST
<http://errata.software-univention.de/ucs/4.2/166.html>