From cda83dc93a0140b6ba9a40943a8449613260fe06 Mon Sep 17 00:00:00 2001 From: Rickard von Essen Date: Wed, 28 Dec 2016 21:43:57 +0100 Subject: [PATCH] provisioner/puppet-server: Fixed formatting for execute_command --- .../docs/provisioners/puppet-server.html.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/website/source/docs/provisioners/puppet-server.html.md b/website/source/docs/provisioners/puppet-server.html.md index 4bdd608a6..faab1c3c4 100644 --- a/website/source/docs/provisioners/puppet-server.html.md +++ b/website/source/docs/provisioners/puppet-server.html.md @@ -85,14 +85,15 @@ listed below: variables](/docs/templates/configuration-templates.html) available. See below for more information. By default, Packer uses the following command: - ``` {{.FacterVars}} {{if .Sudo}} sudo -E {{end}}" + - "puppet agent --onetime --no-daemonize " + - "{{if ne .PuppetServer \"\"}}--server='{{.PuppetServer}}' {{end}}" + - "{{if ne .Options \"\"}}{{.Options}} {{end}}" + - "{{if ne .PuppetNode \"\"}}--certname={{.PuppetNode}} {{end}}" + - "{{if ne .ClientCertPath \"\"}}--certdir='{{.ClientCertPath}}' {{end}}" + - "{{if ne .ClientPrivateKeyPath \"\"}}--privatekeydir='{{.ClientPrivateKeyPath}}' {{end}}" + - "--detailed-exitcodes +``` +{{.FacterVars}} {{if .Sudo}} sudo -E {{end}} \ + puppet agent --onetime --no-daemonize \ + {{if ne .PuppetServer \"\"}}--server='{{.PuppetServer}}' {{end}} \ + {{if ne .Options \"\"}}{{.Options}} {{end}} \ + {{if ne .PuppetNode \"\"}}--certname={{.PuppetNode}} {{end}} \ + {{if ne .ClientCertPath \"\"}}--certdir='{{.ClientCertPath}}' {{end}} \ + {{if ne .ClientPrivateKeyPath \"\"}}--privatekeydir='{{.ClientPrivateKeyPath}}' \ + {{end}} --detailed-exitcodes ``` ## Default Facts