we use `get_acme_conf` as higher level sanity checker (e.g. to ensure
that wildcard certificates have a configured DNS plugin)
(adapted from pve-manger (where this is done in the corresponding API
call)
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
sub write_pmg_node_config {
my ($filename, $fh, $cfg) = @_;
my $raw = PVE::JSONSchema::dump_config($config_schema, $filename, $cfg);
+
+ # higher level ACME sanity checking
+ get_acme_conf($cfg);
PVE::Tools::safe_print($filename, $fh, $raw);
}