fix provs config generation

This commit is contained in:
jerger 2022-03-29 18:53:31 +02:00
parent c1b2a34c58
commit dbf6cd38e5
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ use_plugin("python.distutils")
default_task = "publish"
name = "ddadevops"
version = "0.14.5-dev3"
version = "0.14.5-dev4"
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
description = __doc__
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]

View file

@ -103,7 +103,7 @@ class ProvsK3sMixin(DevopsBuild):
substitutes = self.get_keys(['fqdn', 'ipv4', 'ipv6', 'letsencrypt_email',
'letsencrypt_endpoint', 'echo'])
with open(self.build_path() + '/out_k3sServerConfig.yaml', "w") as output_file:
output_file.write(self.k3sConfigTemplate.substitute(substitutes))
output_file.write(self.k3s_config_template.substitute(substitutes))
def provs_server(self, dry_run=False):
result = ''