Commit Graph

671 Commits (3e00ca3608c2ef1a60cfbbddf23eeb4307793657)

Author SHA1 Message Date
Megan Marsh eb685b7140 remove duplicate code from chef provisioner
8 years ago
Megan Marsh a5a6b1ab58
Merge pull request #6501 from Wenzel/expose_ansible_packer_http_addr
8 years ago
Megan Marsh e146973d08 change implementation to set winrm password in way that matches powershell and shell-local implementations; sanitize logs
8 years ago
Mathieu Tarral 3450b6fd6f ansible: expose packer_http_addr extra var
8 years ago
Levi 6646d42490 updated function calls to include buildname and changed variable names
8 years ago
Levi 68ec630fde added function to retreive winrm password from commonhelper
8 years ago
Levi 636cec8f2b added commonhelper import
8 years ago
Levi 37fd50995f added parameter for setting packer password as env variable
8 years ago
DanHam 485d565e32
Ensure comments are easily readable in a standard terminal
8 years ago
DanHam e0bcba4913
Make the upload of env vars retryable in case of restarts
8 years ago
localghost e1a1bb522d Merge remote-tracking branch 'origin/master' into ansible_local_playbook_files_update
8 years ago
localghost 263a3c6910 Include some of the refactoring reverted by previous revert commit.
8 years ago
localghost 46a1c5d945 Revert "Unify handling PlaybookFile and PlaybookFiles."
8 years ago
M. Marsh 62e1323577
Merge pull request #5956 from hashicorp/dedupe_shell_local
8 years ago
localghost 6c7aa724eb Fix tests after merging with master.
8 years ago
localghost c33ca8ce64 Merge remote-tracking branch 'origin/master' into ansible_local_playbook_files_update
8 years ago
localghost 11f2b1ec24 Merge remote-tracking branch 'origin/master' into ansible_local_playbook_files_update
8 years ago
localghost 81db142c8a Unify handling PlaybookFile and PlaybookFiles.
8 years ago
M. Marsh abb70bfa80
Merge pull request #6215 from tb3088/delay-extraArgs-4462_clean
8 years ago
Matthew Patton d22fb6d60b reformat via gofmt
8 years ago
Matthew Patton 5c7d5fac75 expose OS-specific ModulePathJoiner
8 years ago
Matthew Patton 399edbe5e7 revert false economy WRT .ExtraArguments
8 years ago
Matthew Patton b505cecd98 sync docs to code
8 years ago
Megan Marsh 51bcc7aa13 add new feature for telling shell-local whether to use linux pathing on windows; update docs with some examples.
8 years ago
Megan Marsh e983a94a88 fix default windows bash call for shell-local provisioner and move chmod command from the execute_command array into the portion of code where we actually generate inline scripts, sparing users the need to think about this modification which Packer should really handle on its own
8 years ago
Megan Marsh 6dc4b1cbdc move all of the run commands for shell-local provisioner and postprocessor into common library too
8 years ago
Megan Marsh 926327beba deduplicate all validation and interpolation of the shell-local config, sharing options between shell-local provisioner and post-processor. Maintain backwards compatibility with shell-local provisioner.
8 years ago
Megan Marsh 616b41e58f deduplicate the nearly identical communicators for the shell-local provisioner and post-processor, moving single communicator into a new common/shell-local module
8 years ago
M. Marsh 23e51d21c2
Merge pull request #4300 from don-code/master
8 years ago
Megan Marsh fbbcbd772b remove file stat
8 years ago
Matthew Patton 735f5273a0 tab/space fixup via gofmt
8 years ago
Matthew Patton b2d78339b0 add missing removeDir() to allow StagingDir clean-up post-run
8 years ago
Matthew Patton 514a597825 alphabetize datastructures
8 years ago
DanHam 69ac7b56f6
Remove tmp files created by provisioner/windows-shell tests
8 years ago
DanHam b738f41efa
Remove tmp files created by provisioner/powershell tests
8 years ago
DanHam 70ccb8adff
Remove tmp files created by provisioner/puppet-server tests
8 years ago
DanHam fd07cfd2b1
Remove tmp files created by provisioner/puppet-masterless tests
8 years ago
Matthew Patton b4bec692ed remove accidental duplicate, initialize WorkingDir for puppet-server
8 years ago
Matthew Patton 47d46b0c64 use filpath() to make tests portable across Windows and non-Windows
8 years ago
Matthew Patton 8bb7798ea7 standardize across both puppet-{masterless,server}
8 years ago
Don Luchini edb845b3f4 Allow skipping Chef Client staging directory cleanup (fixes #3151).
8 years ago
Matthew Patton 5eb497a2c5 reorder terms and define an intermediate variable
8 years ago
DanHam 7cf31060eb
Remove script containing Win-Shell inline commands from local tmp when done
8 years ago
DanHam b9ab2c8048
Remove script containing PowerShell inline commands from local tmp when done
8 years ago
DanHam ccf687dac6
Fix tests
8 years ago
DanHam 5419375413
Change to CMD % style path is no longer required
8 years ago
DanHam 5b652316d9
Dollar's in env vars used in paths may cause problems for ssh
8 years ago
DanHam 4e7feea184 Allow users to specify the location that the env vars file is uploaded to
8 years ago
Megan Marsh 3afb243f11 use build name to ensure that winrm password and other shared state is not overwritten if two builders need the password in the same packer run.
8 years ago
M. Marsh 56dd8cdb63
Merge pull request #3891 from nouney/f-generated-files
8 years ago