Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
882e37a0
Commit
882e37a0
authored
Jul 19, 2014
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1349 from mbrukman/gofmt
Cleaned up Go formatting with gofmt.
parents
79d55c20
c75a671c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
post-processor/vsphere/post-processor.go
post-processor/vsphere/post-processor.go
+2
-2
provisioner/ansible-local/provisioner.go
provisioner/ansible-local/provisioner.go
+2
-2
No files found.
post-processor/vsphere/post-processor.go
View file @
882e37a0
...
...
@@ -3,12 +3,12 @@ package vsphere
import
(
"bytes"
"fmt"
"log"
"github.com/mitchellh/packer/common"
"github.com/mitchellh/packer/packer"
"log"
"net/url"
"os/exec"
"strings"
"net/url"
)
var
builtins
=
map
[
string
]
string
{
...
...
provisioner/ansible-local/provisioner.go
View file @
882e37a0
...
...
@@ -29,7 +29,7 @@ type Config struct {
// The playbook dir to upload.
PlaybookDir
string
`mapstructure:"playbook_dir"`
// The main playbook file to execute.
PlaybookFile
string
`mapstructure:"playbook_file"`
...
...
@@ -133,7 +133,7 @@ func (p *Provisioner) Prepare(raws ...interface{}) error {
errs
=
packer
.
MultiErrorAppend
(
errs
,
err
)
}
}
// Check that the group_vars directory exists, if configured
if
len
(
p
.
config
.
GroupVars
)
>
0
{
if
err
:=
validateDirConfig
(
p
.
config
.
GroupVars
,
"group_vars"
);
err
!=
nil
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment