Commit Graph

85 Commits (4f8a27be1013b7362ff0d0d7ffbcda795129afe6)

Author SHA1 Message Date
Megan Marsh be5763ec41 move provisioner interface into sdk
5 years ago
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
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 7d658149ea update tests and website and generated partials to reflect new package format
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 cd74456026
Common provisioner helpers (#10229)
6 years ago
Megan Marsh c0ce8a9414 rework fixer deprecation code so we know what plugins they relate to
6 years ago
Adrien Delorme 40947c2bf6
HCL2: generate hcl tags with go-cty tags too (#9306)
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
Paschalis Tsilias beca6de71b Add packer.ExpandUser() function to support tilde in usage of config.ValidationKeyPath (#8657)
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 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
pfuender ffb9272fb2 adding version-override for chef-client provisioner
6 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
7 years ago
Aaron Walker 85b8a654b0 only sets default value for chef license when installing chef and the install command is not set
7 years ago
Aaron Walker dfc5e5cf94 adds support for accepting the chef license
7 years ago
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Adrien Delorme c7ce4d598e change Provisioner to be passed a context for cancellation
7 years ago
Matt Dainty 451709b956 Elevated support for chef-client provisioner
7 years ago
Megan Marsh eb685b7140 remove duplicate code from chef provisioner
8 years ago
Don Luchini edb845b3f4 Allow skipping Chef Client staging directory cleanup (fixes #3151).
8 years ago
Matthew Hooker 9f87213ba4
tests and docs for #5831
8 years ago
Evan Machnic 5cedfc4557 Fixed go format errors
8 years ago
Evan Machnic 7354247933 Added policyGroup and policyName to Packer Communicator
8 years ago
Evan Machnic fe90f79704 Changed new code to use tabs instead of spaces
8 years ago
Evan Machnic 1f92aa2c0a Added Policyfile support to chef-client provisioner
8 years ago
Gennady Lipenkov 53aaf84100 Support 'trusted_certs_dir' chef-client configuration option
8 years ago
Casey Robertson 8f02150178 Changes Linux install URL to omnitruck. Changes powershell install to use omnitruck rather than hard-coded 32-bit url
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker d1b20b3d9c
remove a bunch of dead code.
9 years ago
Matthew Hooker 825f69c64d
provisioner/chef-client: only upload knife config if we're cleaning
9 years ago
Matthew Hooker d920b3fbf4 run gofmt
10 years ago
Matthew Hooker a8e57d83d2 gofmt project.
10 years ago
Jamie Snell 7b3224f3c7 rename KnifeChefTemplate to KnifeTemplate
10 years ago
Jamie Snell 4847e891b0 Fix knife clean-up run on windows
10 years ago
Justin Nauman f2b0fabe66 Fixes #3466 - Remote path needs to be set prior to config interpolation (#3468)
10 years ago
Chris Bednarski 569e6cc464 go fmt
10 years ago