Commit Graph

554 Commits (fadda1fe6d7711b05cd21bebc818e9894deffec2)

Author SHA1 Message Date
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
Matthew Hooker d8439b0034 Merge pull request #3971 from mitchellh/fix3486
10 years ago
Rickard von Essen 3c8dabba9e Fixed formatting
10 years ago
Matthew Hooker 83131db4b8 Merge pull request #3776 from curiositycasualty/master
10 years ago
Matthew Hooker 2ae1b83b15 change chef-solo provisioner staging directory
10 years ago
Rickard von Essen 51a9a51699 Update winrm and winrmcp dependencies
10 years ago
Matthew Hooker a8e57d83d2 gofmt project.
10 years ago
Matthew Hooker efa594bebe Merge pull request #3899 from pengkh/f-file-provisioner
10 years ago
开恒 96a637684b fix #3897
10 years ago
Billie H. Cleek f760ab2fd8 Make SCP the default for provisioner/ansible
10 years ago
Billie H. Cleek e6a0e523e2 refactor sftp subsystem request handling
10 years ago
Billie H. Cleek da223b9539 add scp support to ansible provisioner
10 years ago
Spencer Owen 9963bfcd42 removes unneeded white space
10 years ago
Spencer Owen 7fdd303641 Installs 64bit chef on windows if available
10 years ago
Rickard von Essen d1e38052f7 Merge pull request #3350 from JoakimLofgren/add-support-for-ansible-galaxy
10 years ago
Billie Cleek 023f2edde8 add better logging and error handling to ansible provisioner (#3477)
10 years ago
Isa bb2dd6e2b2 add custom_state config to salt provisioner
10 years ago
Chris Bednarski 32cbb515b5 Merge pull request #3692 from mohae/3474-file-mkdir-all
10 years ago
Joel Scoble 94d158b0b7 remove debug fmt.Print from test
10 years ago
Ricard Clau 049fb2d9c1 actually check for errors in functional tests
10 years ago
Ricard Clau 0c81e49f83 Adding a functional test with an Ansible message very long
10 years ago
Chris Bednarski 664e640257 Merge pull request #3392 from msteinhoff/fix-ansible-provisioner-long-lines
10 years ago
Joel Scoble 999b8b2ed0 file provisioner: download should create all dirs in the destination path
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
Tom Asquith 40aa2b9973 added support for specifying an execute command to the puppet-server provisioner.
10 years ago
Billie Cleek 49067e732a append ANSIBLE_HOST_KEY_CHECKING correctly (#3568)
10 years ago
Justin Nauman f2b0fabe66 Fixes #3466 - Remote path needs to be set prior to config interpolation (#3468)
10 years ago
Ian Duffy 7e653370b7 Seperate remote_path into remote_folder and remote_script. (#3462)
10 years ago
Mario Steinhoff b5f6e379f0 Fix Scanner buffer too long error in ansible-remote provisioner
10 years ago
Simon Guest 1b186f1613 Removed escaped quotes in non-elevated powershell invocation
10 years ago
Joakim Löfgren 1172e670c0 Add support for ansible-galaxy
10 years ago
Keyan Pishdadian f3811cb99d Add ignore_exit_codes param for puppet-masterless provisioner
10 years ago
Rickard von Essen d59844f0d1 Determine current user without CGO.
10 years ago
Rickard von Essen 7369841e63 Ansible: add the support for specifying ansible_user
10 years ago
Rickard von Essen d6716f6ee1 Ansible: don't use deprecated ssh options when ver above 2.0
10 years ago
Rickard von Essen f823725e53 Ansible: os.Environ() should always be passed to the ansible command.
10 years ago
Vespian 4750da3457 Add empty_groups param to ansible provisioner
10 years ago
Marat Bakeev 2791542171 Allow specifying environment variables for ansible provisioner
10 years ago
Chris Bednarski 6dd02e7912 Update ansible test to use the new Downloader interface
10 years ago
Vasiliy Tolstov feee19e4ed file provisioner improvements
10 years ago
Chris Bednarski d8aaf6175f Merge pull request #2470 from jsoriano/puppet-masterless-clean-staging
10 years ago
Chris Bednarski 3ae867446d Merge pull request #2660 from mafrosis/saltp
10 years ago
Billie H. Cleek 0cd54ed19e add options to configure host alias and groups
10 years ago
Chris Bednarski a6552f7c75 Merge pull request #3166 from ephemeralsnow/master
10 years ago
Billie Cleek a5ab53bf5e update ansible tests
10 years ago
Billie Cleek a23610ef41 cleanup ansible provisioner key generation
10 years ago
ephemeralsnow 3de8561a75 Add chmod to chef-solo provisioner
10 years ago
Chris Bednarski 569e6cc464 go fmt
10 years ago
Marat Bakeev c95b2b483f Merge branch ansible-provisioner of https://github.com/dkhenry/packer
10 years ago
Chris Bednarski 114bddfe36 Merge branch 'master' of https://github.com/mitchellh/packer
10 years ago
Chris Bednarski 1f6749096a Restore missing interpolation after merging ansible remote; fixes #3138
10 years ago
Billie H. Cleek bf3c294326 listen on system chosen port
10 years ago
Chris Bednarski 15f99a4aee Merge branch 'ansible-provisioner' of https://github.com/bhcleek/packer into f-ansible
10 years ago
Chris Bednarski 87532b1b00 Merge branch 'chef-provisioner-windows' of https://github.com/sneal/packer into f-chef-provisioner-windows
10 years ago
Matt Black 33071150c1 Salt provisioner: option to set logging level on Salt highstate run
10 years ago
Matt Black 9ccf298be9 Salt provisioner: option to ignore salt highstate failures fixes #2486
10 years ago
Matt Black 5cd15b52c5 Salt provisioner: dynamic command line args passed onto salt-call fixes #2652
10 years ago
Matt Black 7cb802f8a0 Salt provisioner: improved inputs validation
10 years ago
Chris Bednarski 3eabc6253d Merge pull request #2653 from evertrue/evertrue/eherot/add_data_bag_secret_to_chef_client
10 years ago
Billie Cleek 77c48678d6 eliminate possible race conditions
10 years ago
Billie Cleek d73e75a7cf fix panic when connection is closed before packer send Shutdown
10 years ago
David Zanetti 2668747c71 Rename noclean shell option to skip_clean, per pull feedback
11 years ago
David Zanetti 3d23655f2f Add "noclean" boolean to shell provisioner. This stops the provisioner from
11 years ago
Trevor Suarez f006a83c95 Fixing the bug found in the tests
11 years ago
Trevor Suarez 6ca02286d4 Test for when the config parameter isn't passed
11 years ago
Trevor Suarez 627a8fe819 Renaming the config parameter from "options"
11 years ago
Trevor Suarez 4ea7e3473d Testing the new options argument during the actual
11 years ago
Trevor Suarez 84e1b387c4 New test for preparing the new config parameter
11 years ago
Trevor Suarez ebed9e53fb Adding new "Options" configuration parameter for
11 years ago
Billie Cleek 2dc9e0af3f fix `go vet` identified issues
11 years ago
Billie H. Cleek 5366393f9f fix tests
11 years ago
Billie H. Cleek cc8ca3098e add ansible provisioner
11 years ago
Mark Peek 43cb854b3e Merge pull request #2568 from pecigonzalo/f-winrm-reboot
11 years ago
Mark Peek c48548b3bb go fmt
11 years ago
Mark Peek 1aad5cf6d5 provisioner/windows-restart: remove race in test
11 years ago
Mark Peek d87b68efe8 Syncronize cancellation in windows-restart tests
11 years ago
Shawn Neal 357e494ee3 Fix failing Windows guest command tests
11 years ago
Shawn Neal 8014dac742 Add Windows support to Chef provisioners
11 years ago
Shawn Neal affebcda86 Windows Powershell commands need to specify shell
11 years ago
Shawn Neal 67f6d6cdb5 Adds provisioner guest commands abstraction
11 years ago
Gonzalo Peci f01f62dc88 Add specific exit codes listed on https://msdn.microsoft.com/en-us/library/windows/desktop/ms681383(v=vs.85).aspx
11 years ago
Gonzalo Peci 8bd3e62853 Because the new functionality makes the ```waitForRestart()``` function run commands it modifies the value of ```comm.StartCmd.Command``` that is being checked, we need to implement the same workaround that is being used for the ```waitForCommunicator()``` function. This should make the test work again and retain functionality.
11 years ago
Gonzalo Peci 08359e409a Revert the shutdown command with new parameters as this will return proper exit codes. This will work in the same way as restart-computer -force when using ```shutdown /r /f /t 0```.
11 years ago