From: Frank Brehm Date: Tue, 18 Aug 2020 10:22:04 +0000 (+0200) Subject: Changing puppetca commands X-Git-Tag: 1.4.7~1^2 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=4377fc71752751a8c92a7a49a082340c9745e41d;p=pixelpark%2Fcreate-terraform.git Changing puppetca commands --- diff --git a/lib/cr_tf/handler.py b/lib/cr_tf/handler.py index 20a44c3..8a3b9f6 100644 --- a/lib/cr_tf/handler.py +++ b/lib/cr_tf/handler.py @@ -60,7 +60,7 @@ from .terraform.disk import TerraformDisk from .xlate import XLATOR -__version__ = '3.4.4' +__version__ = '3.4.5' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -2739,7 +2739,7 @@ class CreateTerraformHandler(BaseHandler): content = textwrap.indent(textwrap.dedent('''\ provisioner "local-exec" {{ - command = "ssh {ca} 'sudo /opt/puppetlabs/bin/puppet cert sign {h} || true'" + command = "ssh {ca} 'sudo /opt/puppetlabs/bin/puppetserver ca sign --certname {h} || true'" }} provisioner "remote-exec" {{ @@ -2782,7 +2782,7 @@ class CreateTerraformHandler(BaseHandler): }} provisioner "local-exec" {{ - command = "ssh {ca} 'sudo /opt/puppetlabs/bin/puppet cert clean {h} || true'" + command = "ssh {ca} 'sudo /opt/puppetlabs/bin/puppetserver ca clean --certname {h} || true'" when = destroy }}