From d22fb6d60ba4c61c3c27ca46afd430e892501cb1 Mon Sep 17 00:00:00 2001 From: Matthew Patton Date: Tue, 8 May 2018 12:44:15 -0400 Subject: [PATCH] reformat via gofmt --- provisioner/puppet-masterless/provisioner.go | 38 ++++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/provisioner/puppet-masterless/provisioner.go b/provisioner/puppet-masterless/provisioner.go index 35a565d1e..3254a6134 100644 --- a/provisioner/puppet-masterless/provisioner.go +++ b/provisioner/puppet-masterless/provisioner.go @@ -122,17 +122,17 @@ type Provisioner struct { } type ExecuteTemplate struct { - Debug bool - ExtraArguments string - FacterVars string - HieraConfigPath string - ModulePath string + Debug bool + ExtraArguments string + FacterVars string + HieraConfigPath string + ModulePath string ModulePathJoiner string - ManifestFile string - ManifestDir string - PuppetBinDir string - Sudo bool - WorkingDir string + ManifestFile string + ManifestDir string + PuppetBinDir string + Sudo bool + WorkingDir string } func (p *Provisioner) Prepare(raws ...interface{}) error { @@ -292,16 +292,16 @@ func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error { } data := ExecuteTemplate{ - ExtraArguments: "", - FacterVars: strings.Join(facterVars, p.guestOSTypeConfig.facterVarsJoiner), - HieraConfigPath: remoteHieraConfigPath, - ManifestDir: remoteManifestDir, - ManifestFile: remoteManifestFile, - ModulePath: strings.Join(modulePaths, p.guestOSTypeConfig.modulePathJoiner), + ExtraArguments: "", + FacterVars: strings.Join(facterVars, p.guestOSTypeConfig.facterVarsJoiner), + HieraConfigPath: remoteHieraConfigPath, + ManifestDir: remoteManifestDir, + ManifestFile: remoteManifestFile, + ModulePath: strings.Join(modulePaths, p.guestOSTypeConfig.modulePathJoiner), ModulePathJoiner: p.guestOSTypeConfig.modulePathJoiner, - PuppetBinDir: p.config.PuppetBinDir, - Sudo: !p.config.PreventSudo, - WorkingDir: p.config.WorkingDir, + PuppetBinDir: p.config.PuppetBinDir, + Sudo: !p.config.PreventSudo, + WorkingDir: p.config.WorkingDir, } p.config.ctx.Data = &data