Commit Graph

979 Commits (ebdee64c643ae5ad22c4853ec6c64731bae5f310)

Author SHA1 Message Date
Megan Marsh d5971ca25e fix tests by moving mock hooks and communicators, and BasicUi definition, into 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
Adrien Delorme c5da8c5c37
Fix salt-masterless provisioner after merge conflict compilation error (#10296)
5 years ago
Megan Marsh 7141dcfecb
Merge pull request #10201 from davewoodward/feature/windows-package-manager
5 years ago
Megan Marsh f8f1ebf0c7 move version and useragent definitions into sdk
6 years ago
Megan Marsh 9e47696dff move helper/config to bundle with the other template definitions
6 years ago
Megan Marsh 3f6deb8828 move multistep into the plugin sdk
6 years ago
Megan Marsh 7d658149ea update tests and website and generated partials to reflect new package format
6 years ago
Megan Marsh 1ffc358ada move tmp helper func into packer-plugin-sdk
6 years ago
Megan Marsh c4d0c5505a fix tests
6 years ago
Megan Marsh e04eaa89e6 move steps and step configs from packer/common to packer/common/commonsteps
6 years ago
Megan Marsh 6402362018 create packer-plugin-sdk directory and begin moving the relevant folders into it.
6 years ago
Megan Marsh 46cf8a1602 add all provisioner version files
6 years ago
Megan Marsh 8ecd16db81 regenerate code
6 years ago
Megan Marsh 88e03280b6
Extract plugin-specific examples to plugin directories (#10228)
6 years ago
Megan Marsh cd74456026
Common provisioner helpers (#10229)
6 years ago
Simon Gottschlag 65b7d3b604
Add Azure CLI authentication (#10157)
6 years ago
Dave Woodward 257439786c Remove brackets intended to scope usage of cmd variable and leverage unique variable names instead.
6 years ago
Dave Woodward 4152d527df Include download and installation of Git to satisfy the winrepo.update_git_repos prerequisite. Also removed unneeded p.sudo since we know we are working with Windows.
6 years ago
Dave Woodward 8a0aa68a4e Add calls to winrepo.update_git_repos and pkg.refresh_db if the operating system is Windows.
6 years ago
Megan Marsh c0ce8a9414 rework fixer deprecation code so we know what plugins they relate to
6 years ago
js-g d7507ae67c fix (provisioner/ansible): add checks for both roles and collections
6 years ago
js-g 08d485b1f9 GH 10008: fix ansible-galaxy for v1 files
6 years ago
Simon Amelunxen 11861fc7d7
Removed hardcoded but obsolete Task Scheduler timeout (#9994)
6 years ago
Megan Marsh a805bc538e fix tests
6 years ago
Artis3n 4ecade3908 collectionsPath appends to the correct slice
6 years ago
Artis3n 39183d1b76 Updated documentation with `make generate`
6 years ago
Artis3n 611899f7b2 Actually use the collectionArgs, that would be helpful
6 years ago
Artis3n 3d2259a6d4 Typo fix in comment
6 years ago
Artis3n 19f0114035 Added support for Ansible Collections to the Galaxy install
6 years ago
Larry 0bcf4f2613
Update provisioner.hcl2spec.go
6 years ago
Larry 20472bc12f
Update provisioner_test.go
6 years ago
Larry f4a2838716
Added Tests for AnsibleSSHExtraArgs
6 years ago
Larry 7cb17f64a6
Added AnsibleSSHExtraArgs
6 years ago
Adrien Delorme f28c06a861
HCL: re-add the option to set a command for inspec (#9800)
6 years ago
Megan Marsh d3f48622a3
Merge pull request #9726 from acornies/feature/salt-masterless-formulas
6 years ago
Andrew Cornies bde75c9a96 Updated implementation to go-getter/v2
6 years ago
Megan Marsh d826711e7a
File provisioner docs (#9735)
6 years ago
Andrew Cornies a704e1b6b1 Updated formula regexp to support ?ref= syntax.
6 years ago
Megan Marsh 03220c0b94 fix linting.
6 years ago
Maxim Lobanov dd2927f871 fix bug with copying a few files in order
6 years ago
Andrew Cornies 24739270cf Added Prepare tests around formula URLs
6 years ago
Maxim Lobanov cf999e07db fix formatting
6 years ago
Maxim Lobanov cdd33d3ff2 proceed with next files when copy directory
6 years ago
Andrew Cornies a2ea308881 URL format error checking
6 years ago
Andrew Cornies ab52d83fb0 Functional download of formulas using gogetter
6 years ago
Megan Marsh b52143f528 update docs for command and make sure they get generated properly so they appear in the docs
6 years ago
Vladislav Rassokhin 2ac9f5a276 Fixup for #8883: interpolate in file provisioner
6 years ago
Artem Zavatskiy bec367347d ansible-provisioner: fix tests related to ssh agent
6 years ago
Artem Zavatskiy c0048daed5 fix agent auth in ssh communicator for ansible provisioner (#9488)
6 years ago
Megan Marsh 8fc4e03139
quote packer build name to handle names with spaces (#9590)
6 years ago
Sylvia Moss 3dc7a53125
Correct check if PackerHttpAddr is implemented or not (#9498)
6 years ago
Simon Jones 45f81893b9 RunWithUI already calls Wait on the command
6 years ago
Simon Jones aaa913a484 RunWithUi sets appropriate default for stderr buffer
6 years ago
Megan Marsh b5b8f2e308
add template option for templating the inventory file lines (#9438)
6 years ago
Megan Marsh 3d7c9cb9c2
make ansible provisioner docs generated from code (#9439)
6 years ago
Wilken Rivera d72173ac1a Revert "Merge pull request #9040 from hashicorp/powershell-exit-code-fix-4916"
6 years ago
Megan Marsh 9699af4dee
Merge pull request #9350 from gamethis/fix_ansiblepassword
6 years ago
Lane, Larry 5976929595 Fix for #9283
6 years ago
Søren Hansen 19e4afa728
provisioner/windows-restart: Get full hostname, instead of just the NetBIOS name. (#9335)
6 years ago
Adrien Delorme 40947c2bf6
HCL2: generate hcl tags with go-cty tags too (#9306)
6 years ago
Megan Marsh 077d34f12c
Merge pull request #9279 from gamethis/fix_arg_order
6 years ago
Adrien Delorme a2e9439ee6
provisioner/salt-masterless: ignore the CmdArgs field in hcl2 (#9290)
6 years ago
Wilken Rivera 1e90165a56
Add source URL to test fixture script (#9296)
6 years ago
Megan Marsh fecb040bf4
fix bug where build vars couldn't be properly interpolated into this execute command (#9275)
6 years ago
Lane, Larry f4254e9cbf updated test
6 years ago
Lane, Larry c689eb9694 added test
6 years ago
Lane, Larry de12432e6b add test
6 years ago
Lane, Larry e6670fc4a0 fix arg order
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
Wilken Rivera 13e0c1a097 tests/provisioner/powershell: Add acceptance test to reproduce issue 4916
6 years ago
Sylvia Moss be9dbaacd7
Interpolate generatedData in the Inspec provisioner (#9262)
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
Lars Lehtonen 7440c2e6ba
provisioner/windows-shell: remove unused testObjects() (#9116)
6 years ago
DamianBis b679f61536
Update to make NoExitOnFailure work correctly. (#9119)
6 years ago
Matt Kotsenas fe55494207
Add `debug_mode` to PowerShell provisioner (#8996)
6 years ago
Sylvia Moss 553b1fb9f8
Add RetriedProvisioner to allow retry provisioners (#9061)
6 years ago
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
6 years ago
Megan Marsh 73c349d09c
Merge pull request #8908 from hashicorp/fix_4795
6 years ago
Lars Lehtonen 49f28c9439
provisioner/powershell: fix dropped error
6 years ago
Wilken Rivera 4a46d6ff7b docs/provisioner/powershell: Add documentation for `skip_clean` option
6 years ago
Wilken Rivera fe721d8e11 test/provisioner/powershell: Add acceptance test for powershell provisioner cleanup
6 years ago
Wilken Rivera 91c8afda8e provisioner/elevated: Add cleanup logic to remove elevated user scheduled task artifacts
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
Wilken Rivera 1eee0bca5f
Merge pull request #9011 from hashicorp/powershell-acceptance-test
6 years ago
Megan Marsh bdcc95f989
fix execution policy parser to not interfere with legit integers, and add tests (#8997)
6 years ago
Lars Lehtonen 78bb742aa5
provisioner/shell: fix dropped test error
6 years ago
Wilken Rivera 360f81b030 tests/provisioners: Add TestProvsionerPreCheck function
6 years ago
Moss 185deeeb38 Fix provisioner acc-test builder and provisioner store
6 years ago
Wilken Rivera b183c5498f provisioner/powershell: Add basic Powershell provisioner acceptance tests
6 years ago
Megan Marsh b804e5a8f5
Merge pull request #8987 from VaijanathB/azure-devtestlabs-take2
6 years ago
Megan Marsh 8840b4a830
Merge pull request #8625 from hashicorp/remove_ansible_proxy
6 years ago
Sylvia Moss 665330de92
Write generic Builder-Provisioner acceptance test logic (#8963)
6 years ago
Vaijanath Angadihiremath b7d85b8a23 Added acceptance tests for DTL. Fixed couple of issues with DTL root resource group not set to new directory
6 years ago