Commit Graph

52 Commits (df913f596b796d32cfec217faef048e7d3c52875)

Author SHA1 Message Date
Wilken Rivera 20eeffee0d
integration/secretsmanager: Add support for AWS SharedConfig file (#9781)
6 years ago
jsmcnair 78c280b1b7 Use common funcs / fix panic / clarify docs
6 years ago
Juan Mesa b73602eadd Fix corrections
6 years ago
Juan Mesa 55fa3e1b0b Add support for specifying key to fetch from AWS Secrets Manager
6 years ago
Juan Manuel Mesa 75efe3fcd1
Clean linting issues for packages template and interpolate (#9120)
6 years ago
Juan Mesa e6dbbe454e Fix linting issues
6 years ago
Juan Mesa 0fca4a8ba8 Add template function aws_secretsmanager
6 years ago
Jeff Escalante 9165be87da
packer.io prefix removal, html extension remove for in-code errors
6 years ago
Megan Marsh 0cfcbd66ca
execute_command in powershell wasn't interpolating build vars properly (#8771)
6 years ago
Megan Marsh cd7abf1f9e clean up a few final issues with info sharing
6 years ago
Megan Marsh 6bc5a95c3a tweak docs; change to
6 years ago
Megan Marsh 0f6d1beccf add an extra string array to the Prepare() return values in the builder interfaces; this sets up the ability for builders to give the provisioners custom user-accessible build-time variables.
6 years ago
Megan Marsh d47f151bf9 punctuation
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 39fd462b56 change all provision func signatures to use map[string]interface{}
6 years ago
Megan Marsh 0ca7c9f397 fix tests
6 years ago
Megan Marsh 5d266b20d0 generated func now validates based on data provided in context, which needs to include the future values if it is to be interpolated properly.
6 years ago
Megan Marsh 528b853178 stub out generated func for validation
6 years ago
psinghal20 6492995a20
feat: add strftime function in templates
7 years ago
Adrien Delorme df0b06a87a make sed template call deprecated
7 years ago
Adrien Delorme adad25b50b fix switch statement
7 years ago
Adrien Delorme feb3da4f56 replace sed usage with replace and replace_all funcs
7 years ago
Adrien Delorme a279d2e071 template funcs: got force template funcs to be 'FuncGenerator'
7 years ago
Megan Marsh e54b1cedd9 text/template turns out to swallow custom error types.
7 years ago
Megan Marsh 2bbc3d50d7 better error handling when using interpolate funcs; don't swallow func errors
7 years ago
Megan Marsh bf0d7b3620 make it work and add tests
7 years ago
Wheeler Law 4582a55680 Formatting
8 years ago
Wheeler Law 1fdce9dada Tests are passing
8 years ago
Wheeler Law de3bdec567 Working now
8 years ago
Wheeler Law 65c1b039cc Added a sed function. Not quite working yet
8 years ago
Megan Marsh 174098ba29 implement vault template function for kv engine; add docs
8 years ago
Megan Marsh dfaf624f4c add template function allowing user to read keys from vault
8 years ago
Olivier Ceyral ee08365b02 Fix error message
8 years ago
Olivier Ceyral a906d1d630 Add consul template function
8 years ago
Ladar Levison 8fee49ab9f Added a 'split' function to parse template variables.
8 years ago
Krzysztof Wilczynski 7d80e37c14
Add new `packer_version` function.
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker db49f10cad
update changelog
9 years ago
Mark Peek 5ef142c8bd Fixes #2777: isotime interpolation uses InitTime
11 years ago
Mitchell Hashimoto fd2d44c212 helper/config: copy buildname/buildtype properly
11 years ago
Mitchell Hashimoto f1b3c8a7ae template/interpolate: build_name and build_type functions
11 years ago
Mitchell Hashimoto 639e63fd7c packer: test for template path
11 years ago
Mitchell Hashimoto 31d6dcb656 template: template path is the directory
11 years ago
Mitchell Hashimoto 2752e51e09 template/interpolate: add template_path
11 years ago
Mitchell Hashimoto becd6dacd7 template/interpolate: support custom functions
11 years ago
Mitchell Hashimoto 47b570a2d2 template/interpolate: flip disable to enableenv
11 years ago
Mitchell Hashimoto 1e745d9508 template/interpolate: user variables
11 years ago
Mitchell Hashimoto a4b5e08fe4 template/interpolate: upper/lower
11 years ago
Mitchell Hashimoto 7659a91445 template/interpolate: timestamp
11 years ago
Mitchell Hashimoto b84ec8da4b template/interpolate: isotime
11 years ago