Commit Graph
7424 Commits
Author SHA1 Message Date
Dan Fuchs f45f4568db make validateInventoryDirectoryConfig function 2017-04-06 14:50:02 -05:00
Dan Fuchs 39a9eac44f Remove req param from validateDirectoryConfig 2017-04-05 09:14:30 -05:00
Dan Fuchs 50637a68bf Clarify inventory_directory in ansible provisioner docs 2017-04-04 22:58:46 -05:00
Dan Fuchs 3fc809c05b Ansible provisioner: check if inventory directory exists during prepare 2017-04-04 22:49:24 -05:00
Dan Fuchs 492bff474b Ansible provisioner: Specify full path to generated inventory file 2017-04-04 22:04:26 -05:00
Dan Fuchs 609e70face inventory_directory option for ansible provisioner
Add an `inventory_directory` setting to the Ansible provisioner that
allows a user to specify a directory in which the Packer Ansible
provisioner would write the generated inventory file.  If a value is
specified for this setting, then have the Packer Ansible provisioner
pass this directory as the -i arg when it calls ansible.

This would allow an Ansible playbook used by the Packer Ansible
provisioner to use variables specified in `host_vars` and `group_vars`
in this inventory directory.
2017-04-04 16:43:46 -05:00
Matthew Hooker 747bee35bd update changelog 2017-04-03 11:23:20 -07:00
Matthew Hooker 4a38f0d353 Merge pull request #4749 from rickard-von-essen/issue-4608
builder/googlecompute: Revert to using default service account
2017-04-03 11:22:34 -07:00
Matthew Hooker bce03492d9 remove references to ServiceAccountEmail 2017-04-03 11:22:00 -07:00
Rickard von Essen 77dc8b84c1 builder/googlecompute: Revert to using default service account
Fixes issue with cross Project builds.

Closes #4608

Regression introduced in PR #3639
2017-04-02 17:52:14 +02:00
Matthew Hooker 7f8f24e126 Merge pull request #4744 from abulford/patch-1
Fix a couple of typos
2017-03-30 10:29:10 -07:00
Andy Bulford 531887d2bb Fix a couple of typos 2017-03-30 16:55:08 +01:00
Matthew Hooker 7556b484b0 Merge pull request #4741 from mitchellh/fixsshconnclose
communicator/ssh: don't return error if we can't close connection.
2017-03-30 02:15:40 -07:00
Matthew Hooker eab4730c29 communicator/ssh: don't return error if we can't close connection. 2017-03-30 02:14:49 -07:00
Matthew Hooker 55685abdc7 fix link in issue template 2017-03-30 00:25:35 -07:00
Matthew Hooker 2a883c59e7 Merge pull request #4731 from mitchellh/lintfixes
Lintfixes
2017-03-29 16:00:38 -07:00
Matthew Hooker 6f27f67346 more fixes from errcheck 2017-03-29 13:38:31 -07:00
Matthew Hooker 048e316645 s/TargettedUi/TargetedUI/ 2017-03-29 12:44:42 -07:00
Matthew Hooker 4fcbf75da9 s/non existent/nonexistent/ 2017-03-29 12:38:33 -07:00
Matthew Hooker b7d4e1d999 Merge pull request #4730 from KohlsTechnology/fix-github-link
Fix link to GitHub project page on website
2017-03-28 21:13:45 -07:00
Matthew Hooker de296ac06b simplify 2017-03-28 20:45:25 -07:00
Matthew Hooker cc11ec3566 check for a couple errors 2017-03-28 20:36:21 -07:00
Matthew Hooker 35578d9ed1 remove unnecessary type conversions 2017-03-28 20:36:21 -07:00
Matthew Hooker bf64d7bdc2 automagic simplification 2017-03-28 20:36:20 -07:00
Matthew Hooker 79287d7e47 simplify some code 2017-03-28 20:36:20 -07:00
Matthew Hooker 0149f679de Print instead of Printf with no dynamic first variable. 2017-03-28 20:36:20 -07:00
Matthew Hooker d1b20b3d9c remove a bunch of dead code.
https://github.com/dominikh/go-tools/tree/master/cmd/unused
2017-03-28 20:36:20 -07:00
Matthew Hooker 230079f73a spell fixes 2017-03-28 20:36:19 -07:00
Sean Malloy 73758be55a Fix link to GitHub project page on website 2017-03-28 21:33:52 -05:00
Matthew Hooker dfe6f11ea7 Merge pull request #4729 from phoxelua/remove-merge-conflict
Removed merge conflict from Docker example web page
2017-03-28 18:52:27 -07:00