8397 Commits

Author SHA1 Message Date
Kinnaird McQuade
61289bec0e Update windows_custom_image.json
object_id is not present in the file. Added it
Required, as per the docs: https://www.packer.io/docs/builders/azure.html#object_id
The other windows example shows this properly: https://github.com/hashicorp/packer/blob/master/examples/azure/windows.json
Similar to: https://github.com/hashicorp/packer/issues/4803
2017-08-26 16:26:25 -04:00
Megan Marsh
9e2e467b31 Allow granular modification of sriov and ena enhanced networking options in amazon amis. Maintain old functionality. 2017-08-25 14:49:53 -07:00
bugbuilder
fc4bee4598 VMware typo 2017-08-24 22:46:35 -03:00
Matthew Hooker
5eb14ad642
add go 1.9 to travis 2017-08-24 16:21:55 -07:00
Megan Marsh
f50045a71c Merge pull request #5283 from hashicorp/do_4039
set default for ExpectDisconnect to false
2017-08-24 15:51:32 -07:00
Christopher Boumenot
1ed97ca938 Merge pull request #5242 from boumenot/pr-azure-docs
azure: improve docs and validation
2017-08-24 15:27:15 -07:00
Christopher Boumenot
9a34fd15ca azure: improve docs and validation
Closes #5186
2017-08-24 15:23:13 -07:00
Christopher Boumenot
843088a8f9 Merge pull request #5244 from boumenot/pr-azure-issue-5202
azure: support storage account for managed images
2017-08-24 15:22:08 -07:00
Christopher Boumenot
0780667b4d azure: support storage account for managed images
Closes #5202
2017-08-24 15:10:49 -07:00
Megan Marsh
401c718a59 set default for ExpectDisconnect to false 2017-08-24 14:46:52 -07:00
Megan Marsh
7da52e1f77 Merge pull request #5250 from hashicorp/repro_3399
make force_deregister work in all regions, not just original region.
2017-08-24 14:41:02 -07:00
Megan Marsh
b1001264ed fix windows-restart tests 2017-08-24 14:30:15 -07:00
Matthew Hooker
4edbd5322c
docker: stream uploads over stdin
Only write to a tempfile if we don't have a stat struct
2017-08-24 13:29:38 -07:00
Michael Juliano
c8db128dc5
Modified func Upload to use docker cp 2017-08-24 13:29:37 -07:00
Matthew Hooker
60649e2b7b Merge pull request #5281 from luqasz/master
Natural order / align of AMI artifacts
2017-08-24 12:16:13 -07:00
Megan Marsh
b2923b4da6 check stdout to make sure echo command actually goes through before counting computer as fully restarted 2017-08-24 12:10:27 -07:00
Łukasz Kostka
bbaf15ef2e Merge remote-tracking branch 'fork/master' 2017-08-24 20:57:44 +02:00
Łukasz Kostka
8703937cde Natural order of AMI artifacts 2017-08-24 20:57:12 +02:00
Matthew Hooker
11a2088361
update changelog 2017-08-23 14:10:41 -07:00
Matthew Hooker
28894fb418 Merge pull request #5274 from mmerdes/master
Fix timestamp interpolation in created file name
2017-08-23 14:08:27 -07:00
Matthew Hooker
348dd78ed4 Merge pull request #5277 from vronin/exportmessage
Show a message why VM export was skipped while building on VMWare Fusion
2017-08-23 14:07:00 -07:00
Victor Ronin
cb75796389 Show a message why VM export was skipped while building on VMWare Fusion/Workstation 2017-08-23 12:44:46 -07:00
Matthias Merdes
ec5369454c Merge pull request #1 from mmerdes/issue4885-fix-timestamp-interpolation-in-file-name
Fix timestamp interpolation in created file name
2017-08-23 13:10:26 +02:00
Matthias Merdes
c8d09b5152 Fix timestamp interpolation in created file name
This commit attempts to fix the timestamp-related part of #4885 by using the logic found in the analogous virtualbox implementation. In essence, it applies the solution from commit 93bb0d8 to the vmx case.
2017-08-23 13:04:42 +02:00
Megan Marsh
89b058604d update tests for pull 5272 2017-08-22 14:20:40 -07:00
Megan Marsh
5214851463 make every script name unique 2017-08-22 14:03:28 -07:00
Jasmin Gacic
1de4be0483 Update CHANGELOG.md 2017-08-22 17:50:45 +02:00
Jasmin Gacic
fce08fce73 Merge pull request #5233 from StackPointCloud/packer-builder-profitbricks-updates
Packer builder ProfitBricks Cloud API V4 updates
2017-08-22 17:50:31 +02:00
c22
42f1aa7a95 Refactor puppet-masterless based on puppet-server 2017-08-22 14:10:37 +10:00
c22
bc2e3de06d Resolve merge conflicts and update documentation. 2017-08-22 14:10:37 +10:00
c22
80ba99c04f Update documentation + small fixes
Updated the puppet-masterless documentation
Removed extraneous ConfigTemplate code
2017-08-22 14:10:37 +10:00
c22
fbac46af91 Linting + formatting 2017-08-22 14:10:37 +10:00
Sam Kerr
bcd30ad2f2 Update puppet-masterless commands to be OS specific
Previous implementation hardcoded "mkdir -p" which is fine for Unix, but
fails on Windows. This change draws on the example in the chef-solo
provisioner on how to detect the OS in use and use an appropriate mkdir
command.

In addition to updating the mkdir command, the actual executeCommand
needs to be OS specific, since Windows doesn't have sudo and Unix
doesn't require 'SET' when trying to change the value of a variable.

Modify the actual Windows command used to run Puppet.

Since the Facter vars on Windows are set with 'SET <varname>=<value>', a
'&&' is needed between the SET commands and the actual Puppet
invocation.
2017-08-22 14:10:37 +10:00
c22
1c592f291e Better Windows support in puppet-server
Reworking the puppet-server provisioner based on chef-client.
2017-08-22 14:10:37 +10:00
Matthew Hooker
0ab790eb1a Merge pull request #5268 from hashicorp/solaris
build solaris binary
2017-08-21 12:36:56 -07:00
Matthew Hooker
b7ddf80155
build solaris binary 2017-08-21 12:32:16 -07:00
Matthew Hooker
e5345b5c78 Merge pull request #5248 from sean-/b-fix-illumos-build
Fix build on GOOS=solaris
2017-08-21 12:24:53 -07:00
zhuzhih2017
fdd68498da Merge pull request #5261 from mayn/fix-docs-builders-alicloud
docs builders/alicloud - add missing sidebar_current
2017-08-21 09:27:44 +08:00
Matthew Aynalem
caaf6c3271 docs builders/alicloud - add missing sidebar_current 2017-08-20 06:55:49 -07:00
Megan Marsh
df5f946927 Merge pull request #5251 from hashicorp/fix_5243
fix bug introduced by 5221
2017-08-15 13:06:17 -07:00
bugbuilder
81272d1427 Updated mark as template to be able to use --force 2017-08-14 23:00:19 -03:00
Megan Marsh
ef858857e4 fix bug introduced by 5221 2017-08-14 14:07:21 -07:00
Megan Marsh
14b2d04332 make force_deregister work in all regions, not just original region. 2017-08-14 12:31:58 -07:00
Sean Chittenden
2393d94beb
Update golang/x/sys/unix to master
`master` contains the necessary fixes required to support `flock(3C)`
on `GOOS=solaris`.
2017-08-14 11:09:22 -07:00
Sean Chittenden
cd84b17923
Fix building packer on GOOS=solaris
Update to golang/x/sys/unix is coming in the subsequent commit.
2017-08-14 10:34:06 -07:00
Sergei A Mamonov
0b4e8474e2 Add docker container_dir to docs 2017-08-14 09:26:05 -07:00
Sergei A Mamonov
07f7183b64 Add docker container dir to template 2017-08-14 09:26:05 -07:00
Matthew Hooker
43c19b49e0
update changelog 2017-08-11 19:03:24 -07:00
Matthew Hooker
794efd62b1 Merge pull request #5240 from icycle77/salt_sudo_fix
use sudo for cleaning up salt content created with sudo
2017-08-11 19:02:25 -07:00
Brett Russ
7192c46e46 sudo prefix the command which cleans up /srv/{salt,pillar} as these are created with sudo in the packer driven salt bootstrapper 2017-08-11 21:26:16 -04:00