From 4377fc71752751a8c92a7a49a082340c9745e41d Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 18 Aug 2020 12:22:04 +0200 Subject: [PATCH] Changing puppetca commands --- lib/cr_tf/handler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }} -- 2.39.5