Commit Graph

8257 Commits

Author SHA1 Message Date
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
Matthew Hooker 850ae8ac65
prepare for next release 2017-08-11 14:48:21 -07:00
Matthew Hooker 4c3e6f36ba
Cut version 1.0.4 2017-08-11 14:40:32 -07:00
Matthew Hooker 1dd4ecb8fc
prepare for v1.0.4 2017-08-11 14:35:47 -07:00
Matthew Hooker 8be7b880a5
update changelog in preparation for v1.0.4 2017-08-11 14:35:14 -07:00
Matthew Hooker 16773bed6a
update aws-sdk-go to v1.10.23 (2017-08-10) 2017-08-11 13:07:00 -07:00
Matthew Hooker 754c80d217
create default tags as well 2017-08-11 12:31:05 -07:00
Matthew Hooker f3a03dd650
update changelog 2017-08-11 11:17:35 -07:00
Matthew Hooker 59c9b3729c Merge pull request #5235 from hashicorp/revert-5101-4992_push_vars
Revert "make sure that flagVars is not a nil map"
2017-08-11 11:13:09 -07:00
cstuntz db7f860d91 Adding tagging back to spot instances, after they're created 2017-08-11 10:43:05 -07:00
Megan Marsh d733be711a Merge pull request #5238 from hashicorp/fix5237
do not wait for rpc upload command to return
2017-08-11 09:33:35 -07:00
Matthew Hooker 2d3b639c7b
don't need a waitgroup for uploading files 2017-08-10 17:02:23 -07:00
Matthew Hooker b05643cd47
increase telemetry report timeout 2017-08-10 16:57:20 -07:00
Matthew Hooker ea76b5a693
Show scp output on error 2017-08-10 11:46:38 -07:00
Ali Bazlamit c67d118523 Update packer to Use ProfitBricks Image Alias feature 2017-08-10 16:15:53 +03:00
Matthew Hooker d8af39254e Revert "make sure that flagVars is not a nil map" 2017-08-09 16:11:38 -07:00
Matthew Hooker 48d8670838
update changelog 2017-08-09 16:11:11 -07:00
Matthew Hooker a6c97311b3 Merge pull request #5234 from hashicorp/filecopy_5221
fix file copy script to prevent error when encountering empty directory
2017-08-09 16:08:57 -07:00
Megan Marsh 199b9062b0 fix file copy script to prevent error when encountering empty directory 2017-08-09 15:19:17 -07:00
Megan Marsh a924db9a79 Merge pull request #5228 from hashicorp/4653_dont_delete_snapshots
continue, not break
2017-08-08 15:07:01 -07:00
Christopher Boumenot 216317c49d Merge pull request #5222 from Trip09/NO-TICKET-azure-allow-build-inside-vpc
[Azure] allow build inside vpc access via public IP
2017-08-08 15:02:53 -07:00
Megan Marsh ef0a091720 continue, not break 2017-08-08 14:53:56 -07:00
Matthew Hooker 968eb94b80 Merge pull request #5211 from hashicorp/4653_dont_delete_snapshots
use block device mappings to know whether a snapshot existed before p…
2017-08-08 14:31:38 -07:00
Megan Marsh 2d6028eb9a use named loops instead of doDelete flag 2017-08-08 14:28:01 -07:00
Megan Marsh e9ec705497 use block device mappings to know whether a snapshot existed before packer's current run. If yes, don't delete the unencrypted snapshot. 2017-08-08 13:59:55 -07:00
Matthew Hooker 9b88ec975a Merge pull request #5227 from hashicorp/fix-flaky-test
fix test that flaked in a travis build recently
2017-08-08 12:28:33 -07:00
Megan Marsh 3f7c090f3b fix test that flaked in a travis build recently 2017-08-08 12:25:12 -07:00
Matthew Hooker e3e36906c3
update changelog 2017-08-08 11:53:16 -07:00