Commit Graph

71 Commits (c8a9d1667571220489e19bc6c545f28af1fd9726)

Author SHA1 Message Date
Chris Bednarski 1f6749096a Restore missing interpolation after merging ansible remote; fixes #3138
10 years ago
Chris Bednarski 15f99a4aee Merge branch 'ansible-provisioner' of https://github.com/bhcleek/packer into f-ansible
10 years ago
David Zanetti 2668747c71 Rename noclean shell option to skip_clean, per pull feedback
10 years ago
David Zanetti 3d23655f2f Add "noclean" boolean to shell provisioner. This stops the provisioner from
10 years ago
Billie H. Cleek cc8ca3098e add ansible provisioner
10 years ago
Mitchell Hashimoto 7c8e86c9c5 provisioner/*: fix interpolation context
11 years ago
Mitchell Hashimoto 6ec428cc38 provisioner/shell: retry file delete [GH-2286]
11 years ago
Mitchell Hashimoto 4463083a60 provisioner/shell: randomize default script name
11 years ago
Mitchell Hashimoto 6c80228661 provisioner/shell: missing error arg
11 years ago
Mitchell Hashimoto a235419c7d provisioner/shell: remove file after exec [GH-1536]
11 years ago
Mitchell Hashimoto c549fce85e provisioner/shell: escape single quotes [GH-2067]
11 years ago
Mitchell Hashimoto 7830d78d06 provisioner/shell: fix tests
11 years ago
Mitchell Hashimoto b28f946be9 Merge pull request #2210 from mitchellh/b-set-e
11 years ago
Mitchell Hashimoto 3ed73852be provisioner/shell: set -e on the shebang itself
11 years ago
Mitchell Hashimoto a995df352e provisioner/shell: uploaded script should be 0755 [GH-1708]
11 years ago
Mitchell Hashimoto 952077ccb0 provisioner/shell: set -e for inline [GH-2069]
11 years ago
Mitchell Hashimoto 2b4df93f2f provisioner/*: interpolation
11 years ago
Mitchell Hashimoto 3eda0f33a0 provisioner/shell: quote PACKER env vars [GH-1565]
11 years ago
Josh Frye 5835ca42b4 Move quoting to else block only for valid vars. Add test case.
12 years ago
Josh Frye a667282e00 Single quote env var values.
12 years ago
Ross Smith II d92179847d provisioner/file: set file/directory permissions
12 years ago
Mitchell Hashimoto 9365b879c0 provisioner/shell: chmod uploaded file to 0777 [GH-994]
12 years ago
Mitchell Hashimoto ec41edf558 provisioner/shell: Split on first equal for env vars [GH-1045]
12 years ago
Mitchell Hashimoto 528ae09c37 provisioner/shell: comment on why we return right away if advance == 0
13 years ago
Mitchell Hashimoto f673ca52ba provisoiner/shell: append only needs to add a byte for UnixReader
13 years ago
Matthew Hooker 104f5049a7 provisioner/shell: fix EOF detection
13 years ago
Mitchell Hashimoto ff970483c4 provisioner/shell: add more tests for UnixReader
13 years ago
Matthew Hooker 0d1b936f69 Fix UnixReader panic on empty lines.
13 years ago
Jason A. Beranek b3d76b7945 provisioner/shell: fix provisioner to use UnixReader [GH-477]
13 years ago
Mitchell Hashimoto 89d165aae7 provisioner/shell: add another UnixReader test for sanity
13 years ago
Mitchell Hashimoto abbac36796 provisioner/shell: convert windows line endings to Unix [GH-277]
13 years ago
Mitchell Hashimoto 28bf6122bd provisioner/*: implement Cancel
13 years ago
Mitchell Hashimoto a46c7afcf7 provisioner/shell: retry the upload if command fails as well
13 years ago
Mitchell Hashimoto 717746ce4f provisioner/shell: retry uploads if reboot [GH-282]
13 years ago
Mitchell Hashimoto 64d87bfaf3 *: switch to packer ConfigTemplate
13 years ago
Mitchell Hashimoto 21f92715c0 provisioner/shell: start_retry_timeout for reboot handling [GH-260]
13 years ago
Mitchell Hashimoto 332bdf6edc builder/*, provisioner/*: set user vars
13 years ago
Mitchell Hashimoto 3f1af409e2 provisioner/shell: tests passing and compiling
13 years ago
Mitchell Hashimoto f4b0e2248f provisioner/shell: convert to latest template stuff
13 years ago
Rafael Garcia 25af1c8bd4 provisioner/shell: state of the art config decoding
13 years ago
Mitchell Hashimoto b64a2532f4 provisioner/shell: use StartWithUi
13 years ago
Mitchell Hashimoto 0b5f4d9d17 provisioner/shell: make build name and builder type env vars [GH-154]
13 years ago
Mitchell Hashimoto 3b4ef72e47 Unused keys are invalid in templates [GH-104]
13 years ago
Mitchell Hashimoto 1745d4e831 provisioner/shell: close source script file handle
13 years ago
Mitchell Hashimoto b22743767e provisioner/shell: inline_shebang for inline scripts
13 years ago
Geoffrey Bachelet 43db2c23eb provisioner/shell: execute script directly instead of using /bin/sh
13 years ago
Mitchell Hashimoto 919c3935e1 Merge branch 'shell-env-vars'
13 years ago
Jack Pearkes d64797cc44 provisioner/shell: remove check for empty env vars config
13 years ago
Mitchell Hashimoto 17d0f5f71b provisioner/shell: rename "path" to "script"
13 years ago
Jack Pearkes e9d8e9f537 provisioner/shell: add support for environment variables to be injected
13 years ago