Commit Graph

767 Commits (e2fe35ef40bbce9b87f945901afa00a3fa769093)

Author SHA1 Message Date
David Z Hao 1d4750a2d9
DisableSudo, not PreventSudo
7 years ago
David Z Hao ea238b66c0
Make salt-masterless provisioner respect disable_sudo directive for all commands
7 years ago
Megan Marsh 6982ec796f remove redundant error check
7 years ago
Megan Marsh 6dcff18d36 prevent nil pointer dereference by defining IsUserAuthority. This occurred as a regression when we updated the crypto library in v1.4.0
7 years ago
Megan Marsh de7106c36b
Merge pull request #7696 from hashicorp/go_generate_from_makefile
7 years ago
Megan Marsh 4bf75ac0f3 fix null file descriptor error
7 years ago
Adrien Delorme abd6eda6c9 generate execution policy from makefile
7 years ago
Megan Marsh 1204213516
Merge pull request #7678 from hashicorp/docker_windows_defaults
7 years ago
Megan Marsh 6f560bef0a
Merge pull request #7653 from aaronwalker/chef_license_acceptance
7 years ago
Adrien Delorme 478f80af83 remove unused func
7 years ago
Adrien Delorme 7005958155 execution policy: make everything more idiomatic
7 years ago
Adrien Delorme e62aba3788 allow to set ExecutionPolicy to none for powershell provisioner
7 years ago
Adrien Delorme e96409954a add execution policy type and use it to default the powershell cmd
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
Paul Meyer 814665fddd Check error returned from retry.Config.Run()
7 years ago
Paul Meyer ec14ab4875 Add unit test to find issue #7655
7 years ago
Aaron Walker dfc5e5cf94 adds support for accepting the chef license
7 years ago
Adrien Delorme d72040f4fa move retry code into the common/retry pkg and make retry context aware
7 years ago
Adrien Delorme 2b06d74019 add a sleep provisioner
7 years ago
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
7 years ago
Adrien Delorme a81abd297b Merge remote-tracking branch 'origin/master' into context_provisioner
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 82c4b76639 [Builder|Build|PostProcessor|Provisioner|Hook]Server: context cancel using a RPC cancel method
7 years ago
Adrien Delorme c7ce4d598e change Provisioner to be passed a context for cancellation
7 years ago
Megan Marsh 0e6c779a88 allow user to access env_var_format in windows_shell call
7 years ago
Adrien Delorme 5a6dffde9a use port as ints
7 years ago
Adrien Delorme a77ce59e36 Update provisioner_test.go
7 years ago
Adrien Delorme 72e5ae9ddc use ValidExitCode in provisioners windows-shell, powershell and shell
7 years ago
Adrien Delorme 30a65c858a regroup shell provisioner params into a common struct
7 years ago
Adrien Delorme 8fea9439f8 windows-shell provisioner: allow to pass ValidExitCodes
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
xinau b449af84ee moved concurrency-safe ui code to packer/ui.go
7 years ago
xinau ae59b81f44 added check for docker backend
7 years ago
xinau 36c1e8d838 moved adapter to common package
7 years ago
xinau 8526244285 changed local_port to uint representation
7 years ago
xinau c207451f7e Merge branch 'master' of https://github.com/hashicorp/packer into packer-provisioner-inspec
7 years ago
pauloj95 b1fffee614
Update guest_commands_test.go
7 years ago
pauloj95 b4d1c77cc0
Update guest_commands_test.go
7 years ago
pauloj95 d7b93aa343
add force to guestcommands test too
7 years ago
pauloj95 8d8b880ac4
add force to powershell move command
7 years ago
Rickard von Essen 52b55fb899
ansible: change local_port to uint instead of string
7 years ago
xinau f5b13e3cb5 added inspec.io provisioner
7 years ago
Adrien Delorme 9f7b4ffc17
Merge branch 'master' into pr/6950
7 years ago
Megan Marsh 5c2da6b816 fix destination pathing so that it doesnt break on windows
7 years ago
Megan Marsh 70c6fcb824
Merge pull request #7078 from aspectcapital/issue-5478
7 years ago
mr-karan 01cdd18fd3 feat(provisioner/ansible): Provide extra SSH args
7 years ago
Matt Dainty 451709b956 Elevated support for chef-client provisioner
7 years ago
Megan Marsh d5854a9574 add option to test registry for certain keys to make sure windows is done with a reboot cycle
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Matt Dainty 19bd28cd72 Fix/add tests
7 years ago