Commit Graph

125 Commits (dev_version_changes)

Author SHA1 Message Date
Karthik P 089df02532
Powershell Provisioner Error Handling (#13334)
10 months ago
hashicorp-copywrite[bot] 19055df3ec
[COMPLIANCE] License changes (#12568)
3 years ago
hashicorp-copywrite[bot] b7df3ca36f
[COMPLIANCE] Add Copyright and License Headers (#12254)
3 years ago
Lucas Bajolet f4a2ac3b31
feat: support pwsh in powershell provisioner (#11950)
4 years ago
Lucas Bajolet c99b300e3a
Add support for Env in remote shell provisioners (#11819)
4 years ago
Lucas Bajolet cbc67b7636
Merge pull request #11792 from teddylear/feat-pause_after-powershell
4 years ago
teddylear d00a41c6ae fix: updates to have make fmt-check and ci-lint pass
4 years ago
Lucas Bajolet 71752c9e1e powershell/provisioner: remove useless fmt.Sprintf
4 years ago
Lucas Bajolet 673a97290a provisioner/powershell: remove unused variable
4 years ago
teddylear 000ace61a3 feat: Add pause_after config to powershell provisioner like shell
4 years ago
Adrien Delorme a2124eb594
Tiny tweaks and fixes for the PowerShell provisioner (#11410)
4 years ago
Adrien Delorme 87ba7258b3
Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown (#10913)
5 years ago
Megan Marsh 88b7b0e14a remove sdk
5 years ago
Megan Marsh 56a45b04ab Move hook and communicator definitions to packer-plugin-sdk
5 years ago
Megan Marsh c70870cb83 move multierror and multierrorappend into sdk
5 years ago
Megan Marsh 001886670d move Ui definition into the packer plugin sdk.
5 years ago
Megan Marsh 9e47696dff move helper/config to bundle with the other template definitions
5 years ago
Megan Marsh 3f6deb8828 move multistep into the plugin sdk
5 years ago
Megan Marsh 7d658149ea update tests and website and generated partials to reflect new package format
5 years ago
Megan Marsh 1ffc358ada move tmp helper func into packer-plugin-sdk
5 years ago
Megan Marsh e04eaa89e6 move steps and step configs from packer/common to packer/common/commonsteps
5 years ago
Megan Marsh 6402362018 create packer-plugin-sdk directory and begin moving the relevant folders into it.
5 years ago
Megan Marsh cd74456026
Common provisioner helpers (#10229)
5 years ago
Megan Marsh c0ce8a9414 rework fixer deprecation code so we know what plugins they relate to
5 years ago
Wilken Rivera d72173ac1a Revert "Merge pull request #9040 from hashicorp/powershell-exit-code-fix-4916"
6 years ago
Megan Marsh fecb040bf4
fix bug where build vars couldn't be properly interpolated into this execute command (#9275)
6 years ago
Wilken Rivera 2e326ef334 Switch back to call operator as opposed to dot sourcing
6 years ago
Wilken Rivera 38f799df3e Add conditional to check if LastExitCode is defined
6 years ago
Wilken Rivera 35df3914d2 provisioner/powershell: Update default execute command to handle script errors
6 years ago
Sylvia Moss 1c30a71d09
Replace file shared state by statebag (#9238)
6 years ago
Wilken Rivera c330d2f04c provisioner/powershell: Update cleanup logic
6 years ago
Matt Kotsenas fe55494207
Add `debug_mode` to PowerShell provisioner (#8996)
6 years ago
Wilken Rivera 4a46d6ff7b docs/provisioner/powershell: Add documentation for `skip_clean` option
6 years ago
Wilken Rivera 11db6014fa provisioner/powershell: Update remote clean up logic
6 years ago
Wilken Rivera f6a61e2511 provisioner/powershell: Add post clean up step to remove temp script files
6 years ago
Megan Marsh bdcc95f989
fix execution policy parser to not interfere with legit integers, and add tests (#8997)
6 years ago
Megan Marsh 9eda2031d2 Remove redundant placeholder (#8503)
6 years ago
Adrien Delorme 4b7132c87c Merge remote-tracking branch 'origin/master' into sharing_info
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Megan Marsh 82367a88f8 reorganize placeholder data call to live with provisioner implementation; force users to use the generated function, therefore forcing validation, for all variables except winrmpassword, by doing a simple string check against the placeholder data.
6 years ago
Megan Marsh 3389d843f0 update all provisioners that used the winrmpassword tooling to use the new generateddata option
6 years ago
Megan Marsh 39fd462b56 change all provision func signatures to use map[string]interface{}
6 years ago
Megan Marsh 0ca7c9f397 fix tests
6 years ago
Megan Marsh 6f418d0e54 get data sharing to a working state with the powershell provisioner
6 years ago
Megan Marsh f4c3501af5 pass struct of generated data into provision() call
6 years ago
Megan Marsh 7d4353864f use shell struct in shell-local provisioner and post-processor.
6 years ago
nywilken 3522e13b1e provisioner/shell: Add `env_var_format` support to shell provisioner
6 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
6 years ago
Megan Marsh 0f704fb5b2 These cancel functions have been obsolete since merge of c7ce4d598e
7 years ago
Megan Marsh 4bf75ac0f3 fix null file descriptor error
7 years ago