Commit Graph

537 Commits (d9b404fa00a52c8d02660008ffd73fcc0fe902bc)

Author SHA1 Message Date
Weilu Jia b1c5ccd3e2 Add version selection for chef-solo provisioner in Windows too
9 years ago
Michael Kuzmin 795921988e provisioner/ansible-local: Convert Windows paths with backslashes to Unix style
9 years ago
Weilu Jia c418307162 Add version selection for chef-solo provisioner
9 years ago
Dan Fuchs f45f4568db make validateInventoryDirectoryConfig function
9 years ago
Dan Fuchs 39a9eac44f Remove `req` param from validateDirectoryConfig
9 years ago
Dan Fuchs 3fc809c05b Ansible provisioner: check if inventory directory exists during prepare
9 years ago
Dan Fuchs 492bff474b Ansible provisioner: Specify full path to generated inventory file
9 years ago
Dan Fuchs 609e70face inventory_directory option for ansible provisioner
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 6f27f67346
more fixes from errcheck
9 years ago
Matthew Hooker de296ac06b
simplify
9 years ago
Matthew Hooker 35578d9ed1
remove unnecessary type conversions
9 years ago
Matthew Hooker 79287d7e47
simplify some code
9 years ago
Matthew Hooker 0149f679de
Print instead of Printf with no dynamic first variable.
9 years ago
Matthew Hooker d1b20b3d9c
remove a bunch of dead code.
9 years ago
Matthew Hooker 230079f73a
spell fixes
9 years ago
Andrey Chernih 7548024720 More verbose error message when ansible-playbook fails
9 years ago
Matthew Hooker 6894f93085 Merge pull request #4534 from mitchellh/chefclean
9 years ago
Marc Carmier 78ab21b42f Test error messages for restart_command and restart_timeout seems to be erroneous
9 years ago
Matthew Hooker 825f69c64d
provisioner/chef-client: only upload knife config if we're cleaning
9 years ago
Matthew Hooker a836268490
fix test on windows
9 years ago
Matthew Hooker 0f445dff07
fix tests
9 years ago
Matthew Hooker 45030e1919
provisioner/anisble: use randomized staging dir
9 years ago
DanHam 370b67497e
provisioner/powershell: Don't over complicate removal of tmp output file
9 years ago
DanHam 21be983855 provisioner/powershell: Use system context env var to set output file path
9 years ago
DanHam e350739ecb
post-processor/shell-local: expand tests to align with shell provisioner
9 years ago
DanHam 28051a9218 provisioner/windows-shell: fix and compact env var test
9 years ago
DanHam e8db6b9b9a provisioner/windows-shell: Remove env var check - again checked in prepare
9 years ago
DanHam c88fafdf38 provisioner/powershell: align, fix and compact env var test
9 years ago
DanHam 4122f3a897 provisioner/powershell: Remove env var check - we already check in Prepare
9 years ago
DanHam 4514b1b10f provisioner/shell: expand tests to align with powershell/win-shell
9 years ago
DanHam 0cbb4ff30c provisioner/shell: Align gen of flattened env vars with powershell/win-shell
9 years ago
DanHam 80ebcea5e1
Mirror cleaner test code back from windows-shell to powershell
9 years ago
DanHam 2bd9fa6c70
Use counter for index. Sort stray comments.
9 years ago
Matthew Hooker c33cef9c12
tests for equals in windows-shell
9 years ago
DanHam 49bc2e353f
Fix to allow equals in value of environment variable. Mirrors #4328
9 years ago
Matthew Hooker 4e6a44f5f1
append will resize
9 years ago
Matthew Hooker 480398c3d2
only set PACKER_HTTP_ADDR if a server is listening
9 years ago
Matthew Hooker 6563eb213c
Document. add to windows-shell and powershell
9 years ago
Matthew Hooker d2e59e4e92
set PACKER_HTTP_ADDR env var when available.
9 years ago
Matthew Hooker 5fc6a2ee70 Merge pull request #4326 from asteris-llc/feature/converge-provisioner
9 years ago
Matthew Hooker 6d6c7864b4 Merge pull request #4328 from DanHam/gh-3108
9 years ago
Sean Malloy a617884a16 Add more tests for puppet-masterless provisioner
9 years ago
Brian Hicks feab6f096e
provisioner(converge): add prevent_bootstrap_sudo
9 years ago
Brian Hicks fb6a5c5bbc
provisioner(converge): change skip_bootstrap back to bootstrap
9 years ago
Brian Hicks 64ebd3af8d
provisioner(converge): remove version validation
9 years ago
Brian Hicks 18425c45d0
provisioner(converge): change bootstrap to skip_bootstrap
9 years ago
Brian Hicks 5d935767f0
provisioner(converge): add bootstrap_command
9 years ago
Brian Hicks 843731d98d
provisioner(converge): add prevent_sudo
9 years ago
Sean Malloy c226b19d08 Add additional unit tests for puppet-server provisioner
9 years ago
DanHam 0423f91037
Fix to allow equals sign in value of environment variable
9 years ago
DanHam be0196492f
Tests for env variables values starting with or containing an equals sign
9 years ago
Brian Hicks 3311d3a48d
provisioner(converge): interpolate execute_command
9 years ago
Brian Hicks fe4b972d32
provisioner(converge): flatten execution fields
9 years ago
Brian Hicks 3658a0b6b5
provisioner(converge): remove log line
9 years ago
Brian Hicks de918ac7a7
provisioner(converge): rename directory to working_directory
9 years ago
Brian Hicks e6ba4c1929
provisioner(converge): remove version check
9 years ago
Brian Hicks 549ff50a3c
provisioner(converge): handle http error
9 years ago
Brian Hicks b46a402a18
provisioner(converge): add tests for Prepare
9 years ago
Brian Hicks 73252b9a9b
provisioner(converge): reverse the meaning of bootstrap
9 years ago
Brian Hicks b8849a9c2d
provisioner(converge): add version specification for bootstrapping
9 years ago
Brian Hicks eca8690018
provisioner(converge): add actual provisioning step
9 years ago
Brian Hicks 73d5593242
provisioner(converge): add validate for source and destination
9 years ago
Brian Hicks 4f0034e574
provisioner(converge): transfer module directories
9 years ago
Brian Hicks e2daefab71
provisioner(converge): improve error messages when Converge isn't found
9 years ago
Brian Hicks 03a8e309ba
provisioner(converge): add bootstrapping
9 years ago
Sean Malloy ce43ade973 Add additional unit tests for puppet provisioners
9 years ago
Sean Malloy 7feb8b993c Add default facts for puppet-server provisioner
9 years ago
Taliesin Sisson 335615408a Run go fmt on files
9 years ago
Taliesin Sisson c88a2ef872 Remove trailing tabs
9 years ago
Taliesin Sisson 55353fae89 Fix spelling mistake
9 years ago
Taliesin Sisson f38d787b0e Powershell uses UTF16Le for encodedCommand
9 years ago
Taliesin Sisson e36051d394 Pattern for infrastructure changed to quote filename and execute file with ampersand as everything is run in powershell now
9 years ago
Taliesin Sisson d61513bf77 Encode powershell using utf8
9 years ago
Taliesin Sisson 17597b48e1 Base64 encode powershell to avoid any necessary escaping
9 years ago
Taliesin Sisson 5d5809b27e Make hiding of progress backward compatible with old versions of powershell
9 years ago
Taliesin Sisson e8c2b49be8 Use correct quotation of variables
9 years ago
Taliesin Sisson 4b394c8563 Write output will put ouput from function, so we don't want to be getting line from output of function
9 years ago
Taliesin Sisson c42cb88ddd Using Write-Output instead of Write-Host since PS v5 now leaks the host stream to stderr
9 years ago
Taliesin Sisson cd6213eb55 Seems like we do need to escape the double quote
9 years ago
Taliesin Sisson 15137310a7 Must escape string formatting for string fmt
9 years ago
Taliesin Sisson 5285a819dd Quoting of powershell commands and associated tests
9 years ago
Taliesin Sisson 3051ea6633 Quote powershell so that it does not try to interpret command to be run
9 years ago
Taliesin Sisson 6c3030c73a Add a little safety around variables that are passed into provisioner.
9 years ago
Matthew Hooker b49be38d74 Merge pull request #4210 from yoctocloud/fixes
9 years ago
Matthew Hooker c510988cbf Merge pull request #4209 from bhcleek/ansible-winrm
10 years ago
Patrick Decat 5dd7fb11f4 Saltstack bootstrapping: fallback on wget if curl failed for any reason (such as not being installed)
10 years ago
Vasiliy Tolstov 00ebe9e1d3 various fixes
10 years ago
Billie Cleek f5ca0de225 provisioner/ansible: assume scp target is file
10 years ago
Matthew Hooker 12176b6afc
provisioner/shell: treat disconnects as retryable.
10 years ago
Jasper Siepkes 200aa74e78 Added support for passing arguments to salt-call.
10 years ago
Rickard von Essen a616c3da3c
provisioner/ansible: Move info messages to log
10 years ago
Matthew Hooker d920b3fbf4 run gofmt
10 years ago
Rickard von Essen f17bd30070 Revert "Removed escaped quotes in non-elevated powershell invocation"
10 years ago
Rickard von Essen 3b42d28cce Merge pull request #4014 from mexisme/feature/puppet-bin-dir
10 years ago
Rickard von Essen 3361da82d4
Added trailing slash after puppet_bin_dir.
10 years ago
Matthew Hooker 892d5e82c9 expect_disconnect option
10 years ago
Matthew Hooker a1ef6398c3 Merge pull request #3371 from simonguest/powershell-envvars-fix
10 years ago
mexisme 314a4f4bbf Add Puppet Bin Dir to puppet-server provisioner
10 years ago
mexisme 6f9294095f Add Puppet Bin Dir to puppet-masterless provisioner
10 years ago