python:gp: Do not print an error if template already exists
authorAndreas Schneider <asn@samba.org>
Mon, 22 Jan 2024 14:05:02 +0000 (15:05 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 29 Jan 2024 09:32:46 +0000 (09:32 +0000)
commit98dc44286ea102ef7701ccdea26bbde32b523a7e
tree9a03463e29943e6a80d53fd0bbf1436dd363ca17
parent728757cd1ff0465967fcbda100254c9312e87c93
python:gp: Do not print an error if template already exists

We will get an exit status for duplicate in future:
https://www.pagure.io/certmonger/issue/269
We can't really fix that right now, as older version of certmonger
don't support the `-v` option.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15559

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
python/samba/gp/gp_cert_auto_enroll_ext.py