From 962cedd04c0a343e36b8895aca9fda91abc153e0 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 11 Dec 2013 13:43:59 -0800 Subject: [PATCH] fmt --- provisioner/puppet-masterless/provisioner.go | 24 ++++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/provisioner/puppet-masterless/provisioner.go b/provisioner/puppet-masterless/provisioner.go index aad698071..8ca6ba2dc 100644 --- a/provisioner/puppet-masterless/provisioner.go +++ b/provisioner/puppet-masterless/provisioner.go @@ -48,12 +48,12 @@ type Provisioner struct { } type ExecuteTemplate struct { - FacterVars string - HieraConfigPath string - ModulePath string - ManifestFile string - ManifestDir string - Sudo bool + FacterVars string + HieraConfigPath string + ModulePath string + ManifestFile string + ManifestDir string + Sudo bool } func (p *Provisioner) Prepare(raws ...interface{}) error { @@ -259,12 +259,12 @@ func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error { // Execute Puppet command, err := p.config.tpl.Process(p.config.ExecuteCommand, &ExecuteTemplate{ - FacterVars: strings.Join(facterVars, " "), - HieraConfigPath: remoteHieraConfigPath, - ManifestDir: remoteManifestDir, - ManifestFile: remoteManifestFile, - ModulePath: strings.Join(modulePaths, ":"), - Sudo: !p.config.PreventSudo, + FacterVars: strings.Join(facterVars, " "), + HieraConfigPath: remoteHieraConfigPath, + ManifestDir: remoteManifestDir, + ManifestFile: remoteManifestFile, + ModulePath: strings.Join(modulePaths, ":"), + Sudo: !p.config.PreventSudo, }) if err != nil { return err