Commit Graph

464 Commits (e04f87effec00579c7e4f9b2b10fedcab87f8bcd)

Author SHA1 Message Date
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
Gonzalo Peci 70083fc869 Add reboot checks before moving out of the reboot.
11 years ago
Tim Smith 72e8119233 Download chef from chef.io
11 years ago
Eric Herot f625c985af Chef-client provisioner: Add encrypted data bag secret support (Fixes #1945)
11 years ago
Chris Bednarski abb67fdd79 Fix govet issues
11 years ago
Chris Bednarski 84abbc2fe2 Merge pull request #2519 from BayanGroup/salt-remote-dirs
11 years ago
Chris Bednarski c04feb77b1 Merge pull request #2520 from BayanGroup/salt-ensure-dir-exists
11 years ago
Chris Bednarski c04e442203 Merge pull request #2518 from BayanGroup/fix-error-messages
11 years ago
AmirAli Moinfar eba0e9eaf8 Ensure that `/etc/salt` exists
11 years ago
AmirAli Moinfar 769c82b171 Support for setting salt remote directory
11 years ago
AmirAli Moinfar f90f2f685d Fix semantic errors in messages
11 years ago
Gonzalo Peci 21107b0027 Fix wrong command type being used when running elevated provisioner.
11 years ago
Chris Bednarski 715662f60b Reformat
11 years ago
Jaime Soriano Pastor be8c9dddf2 Puppet masterless provisioner optionally cleans staging directory
11 years ago
Chris Bednarski 56745e14f5 manifest_file can now be a folder or file.pp and we will upload it correctly in either case
11 years ago
Schreiter, Wulf-Thilo 18438cf291 Add knife config by template
11 years ago
Vasiliy Tolstov 036c9ddf7c fix file download provisioner
11 years ago
Mitchell Hashimoto b77042dc85 provisioner/shell-local: fix vet
11 years ago
Mitchell Hashimoto 5db4d7c01f fmt
11 years ago
Mitchell Hashimoto 288b9a70f6 Merge pull request #1657 from njhartwell/master
11 years ago
Mitchell Hashimoto 11e325738b Merge branch 'ansible-inventory-groups' of https://github.com/lyrixx/packer into lyrixx-ansible-inventory-groups
11 years ago
Mitchell Hashimoto 7c8e86c9c5 provisioner/*: fix interpolation context
11 years ago
Mitchell Hashimoto 0e8036a023 Merge pull request #2283 from mitchellh/f-local-shell
11 years ago
Mitchell Hashimoto 6ec428cc38 provisioner/shell: retry file delete [GH-2286]
11 years ago
Mitchell Hashimoto 2dc6155c30 provisioner/shell-local: tests
11 years ago
Mitchell Hashimoto 80fc1f032b provisioner/shell-local: a first stab
11 years ago
Mitchell Hashimoto 59766067c0 provisioner/windows-restart: make test pass on slow machines
11 years ago
Mitchell Hashimoto 873bc7471f Merge pull request #2280 from flopex/ignore_exit_codes
11 years ago
Mitchell Hashimoto 4463083a60 provisioner/shell: randomize default script name
11 years ago
Mitchell Hashimoto b2609db395 provisioner/windows-restart: fix potential panic case
11 years ago
Mitchell Hashimoto 7711e07f05 provisioner/windows-restart: test fix
11 years ago
Mitchell Hashimoto 49769a17c2 Merge pull request #2243 from mitchellh/f-powershell
11 years ago
Mitchell Hashimoto 5ee02b09b2 Merge pull request #2258 from mitchellh/b-puppet-manifest-base
11 years ago
Gonzalo Peci af4d8b99b4 Add quickfix to restart provisioner as existing one was not working.
11 years ago
Mitchell Hashimoto 8990c38d5e provisioner/puppet-masterless: deprecation warning
11 years ago
Mitchell Hashimoto 6cda4fa548 Merge branch 'default_facts' of https://github.com/danzilio/packer into danzilio-default_facts
11 years ago
Mitchell Hashimoto 65916514c0 Merge branch 'puppet_working_dir' of https://github.com/ColinHebert/packer into ColinHebert-puppet_working_dir
11 years ago
Mitchell Hashimoto 5d38ee939b Merge pull request #2259 from mitchellh/b-shell-delete
11 years ago
Mitchell Hashimoto 6c80228661 provisioner/shell: missing error arg
11 years ago
Alexander Golovko 500d83b673 add download support to file provisioner
11 years ago
Mitchell Hashimoto a235419c7d provisioner/shell: remove file after exec [GH-1536]
11 years ago
Mitchell Hashimoto 742e556836 provisioner/puppet-masterless: only base if manifest is a file [GH-1933]
11 years ago
Mitchell Hashimoto 711dfc9d0a provisioner/chef: show command in output
11 years ago
Mitchell Hashimoto 14787fd4cc provisioner/chef-client: run cleanup on node [GH-1295]
11 years ago
Mitchell Hashimoto 106c9403ed provisioner/chef-client: chmod the directories
11 years ago
Mitchell Hashimoto bee3b59c40 Merge branch 'chef-client-client_key' of https://github.com/ameir/packer into ameir-chef-client-client_key
11 years ago
Mitchell Hashimoto ab6a330d86 provisioner/*: fix go vet
11 years ago
Mitchell Hashimoto 339a4ccdab provisioner/windows-shell
11 years ago
Mitchell Hashimoto 840ddb4f20 provisioner/windows-restart
11 years ago
Mitchell Hashimoto 040ff0706d provisioner/powershell
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 c2381be44f provisioner/*: convert to interpolation
11 years ago
Francisco Lopez 758618ecaa Add ignore_exit_codes key for provisioner puppet-server
11 years ago
Nathan Hartwell c4cee75b93 Adding tests for disable sudo
11 years ago
Nathan Hartwell d0d3229f96 Merge branch 'master' of https://github.com/mitchellh/packer
11 years ago
Grégoire Pineau cd14cb7012 [Provisioner][Ansible] Added support for inventory group
11 years ago
Ameir Abdeldayem 5c06af872d Support chef-client 'client_key' and default to <staging
11 years ago
Emil Hessman 3165b0c936 provisioner/salt-masterless: fix incorrect printf verb types
11 years ago
Emil Hessman 92704b693a provisioner/puppet-masterless: fix missing format argument
11 years ago
David Danzilio 7e3d172581 Fixing spacing on line 162 and 164 of provisioner/puppet-masterless/provisioner_test.go
11 years ago
David Danzilio 8404f6ce86 Taking a stab at a test for the facter facts
11 years ago
David Danzilio d1445bc6fe Make PackerBuildName and PackerBuilderType available as Facts during a masterless run similar to the way we do with the Shell provisioner.
11 years ago
Colin Hebert b7fccec91c Set the working dir to staging dir
11 years ago
Colin Hebert a100e9393b Add support for custom working directory for puppet
11 years ago
Erik Simmler 034ed36d0e Ask salt to return a proper exit code so we can fail the builder appropriately.
11 years ago
Neeki Patel 3a3a81b01c Merge remote-tracking branch 'upstream/master'
11 years ago
Victor Trac eb72584415 fix passing bootstrap_args to bootstrap script
11 years ago
Neeki Patel 027b43ea05 Fixed info declared and not used
12 years ago
Neeki Patel 5a9e5df967 Allow manifest_file to be a directory
12 years ago
Timur Batyrshin e4c544b3e2 added ssl_verify_mode parameter to chef-client provisioner
12 years ago
James Massara 1837c7189a Added tests for prevent_sudo
12 years ago
James Massara a5ca2e5a27 Use sudo only if prevent_sudo is not set
12 years ago
Seth Vargo 0eb634ae6a Merge pull request #1525 from scott2449/master
12 years ago
Nathan Hartwell e5c6f1a753 Merge branch 'master' of https://github.com/mitchellh/packer
12 years ago
Mitchell Hashimoto 81d8cd0db4 Merge pull request #1394 from mafrosis/salt-masterless
12 years ago
Mitchell Hashimoto 3eda0f33a0 provisioner/shell: quote PACKER env vars [GH-1565]
12 years ago
Mitchell Hashimoto 8cdb686505 Merge pull request #1562 from bhcleek/ansible-local-inventory-best-practice
12 years ago
Steve Daniels 86fb46ab0a Update SaltStack provision to https
12 years ago
Billie H. Cleek afa499befd always use an inventory file
12 years ago
Mitchell Hashimoto 373cefa93c Merge pull request #1585 from Tpbrown/ansible-color-and-unbuffered
12 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
Tim Brown baa8697f5d Colorize Ansible output, and don't buffer output.
12 years ago
Nathan Hartwell 331003c809 Merge branch 'master' of https://github.com/mitchellh/packer
12 years ago
mafro ed07fb63e4 salt provisioner: tidy up and refactor into functions
12 years ago
mafro e7a46d97c0 salt provisioner: require local_state_tree
12 years ago
Scott Rahner 4383b435a4 adding default nodename
12 years ago
Mitchell Hashimoto 75395af12d Merge branch '1064-fix-upload-file-permissions' of github.com:rasa/packer into rasa-1064-fix-upload-file-permissions
12 years ago
Mitchell Hashimoto 802168f4b5 Merge branch 'add-chef-environment' of github.com:cfortier2/packer into cfortier2-add-chef-environment
12 years ago
Mitchell Hashimoto 825864a9ea Merge branch 'additional-user-variables' of github.com:nBerg/packer into nBerg-additional-user-variables
12 years ago
yveslaroche 3bfeb54853 Fix Ansible inventory path on Windows
12 years ago
Misha Brukman c75a671c1e Cleaned up Go formatting with gofmt.
12 years ago
sawanoboly 18dddb516b Fix remotePaths when provisioning Linux from Windows
12 years ago
Nina Berg bd1a0d07fb Added some variables to amazon-ebs builder and chef-client provisioner
12 years ago
cfortier2 e908cc1733 add chef_environment test
12 years ago
cfortier2 25386f8e8e add support for chef_environment
12 years ago
Ross Smith II d92179847d provisioner/file: set file/directory permissions
12 years ago
renat-sabitov-sirca 0a8e4c7186 Uploading the whole ansible playbook directory
12 years ago
Nathan Hartwell 88ec874c32 Adding disable_sudo support to salt-masterless provisioner
12 years ago
Mitchell Hashimoto 5c5d62733f fmt
12 years ago
Mitchell Hashimoto 9beac8d286 provisioner/chef-client: proper ordering of args [GH-1100]
12 years ago
Ben Langfeld b801713e83 Node DNA needs to handle multiple types
12 years ago
Mitchell Hashimoto bb8d0a5e7a provisioner/chef-solo: convert []uint8 to string
12 years ago
Mitchell Hashimoto 379f3ae933 provisioner/chef-solo: be more lenient on json fix
12 years ago
Mitchell Hashimoto 4379997c2c provisioner/chef-solo: better error for bad type in JSON
12 years ago
Mitchell Hashimoto 8fc46aaa82 provisioner/chef-solo: deeploy nested JSON works properly
12 years ago
James Cline 6017f895f1 provisioners/chef-client: delete correct client
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 5fac6c79c4 fmt
12 years ago
James Cline eb4ba76e1a provisioner/chef-client: validation_client_name
12 years ago
Ross Smith II ec847acf80 Merge pull request #963 from rhburrows/ansible-local-paths-on-windows
12 years ago
Ross Smith II 4f186fbd6e Merge pull request #1006 from jgornick/add-ansible-inventory-file (manually)
12 years ago
Joe Gornick d9fc06a170 Update Ansible provisioner to set cwd to staging directory.
12 years ago
Joe Gornick 6d56def162 Add inventory_file option to Ansible provisioner.
12 years ago
Ryan Burrows 6420fbb469 Fix ansible paths when provisioning Linux from Windows
12 years ago
Mitchell Hashimoto 3de16f20b9 privisioner/chef-client: don't chown with ubuntu [GH-939]
12 years ago
Mitchell Hashimoto ab97545a52 provisioner/puppet-server: docs
12 years ago
Mitchell Hashimoto 2af91addf9 Merge pull request #796 from Jimdo/puppet-server
12 years ago
Mitchell Hashimoto 000e5b67ff provisioner/chef-client: docs and validation key path
12 years ago
Mitchell Hashimoto d7e6409b9a provisioner/chef-client: clean up
12 years ago
Mitchell Hashimoto d0a08e83cf Merge pull request #855 from Elachance/chef-client-provisioner
12 years ago
Mitchell Hashimoto 4576093c17 fmt
12 years ago
Mitchell Hashimoto 8c1de9e712 provisioner/ansible-local: better error if missing [GH-836]
12 years ago
Mitchell Hashimoto a51fbea499 provisioner/ansible-local: style
12 years ago
Jan Brauer ee50657097 Merge remote-tracking branch 'upstream/master' into puppet-server
12 years ago
Bernard McKeever 458d90c71d provisioner/ansible: support {group,host}_vars
12 years ago
Bailey Johnson 73bbfab8f1 adding chef-client provisioner
12 years ago
jamie brim ec1adec029 provisioner/ansible: configurable command / args
12 years ago
jamie brim 75f64ef6af provisioner/ansible: upload playbooks correctly
12 years ago
Jan Brauer 9d01684c1c Use sudo by default, as in puppet-masterless
12 years ago
Jan Brauer 58b06526f5 Update docs for puppet-server provisioner
12 years ago
Jan Brauer 646f4a6dd3 Implement puppet-server provisioner
12 years ago
Mitchell Hashimoto 525802e9e6 provisioner/ansible-local: templates for role, playbook paths [GH-749]
12 years ago
Mitchell Hashimoto 4d3c9e7104 Merge pull request #726 from rocketnova/master
13 years ago
Sudharshan S e8d1cc8e31 Fix Puppet Provisioner crash when HieraConfigPath or ManifestDir is specified
13 years ago
Rocket bb8e9ad71c Change chef environment to work for chef-solo.
13 years ago
Jake Good b76a116823 Fix Ansible-local provisioner configuration check for 'playbook_paths' as it was checking for files, not paths
13 years ago
Mitchell Hashimoto 962cedd04c fmt
13 years ago
Mitchell Hashimoto 10546f6aee provisioner/puppet-masterless: fix compile
13 years ago
Mitchell Hashimoto 895d87d9eb provisioner/puppet-masterless: use Go 1.2 template comparators
13 years ago
Mitchell Hashimoto 3a2c04e4e5 provisioner/puppet-masterless: validate manifest_dir is a dir
13 years ago
Mitchell Hashimoto 2986452804 provisioner/puppet-masterless: simplify manifest dir upload
13 years ago
Jan Brauer afd0aea8df Merge branch 'master' into configure-manifest-dir
13 years ago
Mitchell Hashimoto 956f49f439 provisioner/puppet-masterless: check for hiera config path [GH-656]
13 years ago
Jan Brauer 1a191044e7 Return targetPath
13 years ago
Jan Brauer 8beaae0d0e #450 - allow configuration of manifest dir
13 years ago
Mitchell Hashimoto 7472507962 provisioner/chef-solo: test for encrypted data bag secret path config
13 years ago
Mitchell Hashimoto d56eec8852 provisioner/chef-solo: naming nitpick
13 years ago
Andrew Matheny 6dfcf2b347 Add support for passing encrypted data bag secret to chef-solo
13 years ago
Mitchell Hashimoto 457b99db3f provisioner/chef-solo: Say using Chef-solo
13 years ago
Mitchell Hashimoto d94cff93da Merge pull request #475 from kelseyhightower/ansible-provisioner
13 years ago
Mitchell Hashimoto d1c497676a Merge pull request #514 from rgarcia/salt-masterless-uploaddir
13 years ago
Mitchell Hashimoto 75bdba7f97 Merge pull request #513 from rgarcia/salt-masterless-mv-bug
13 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
Rafael Garcia 32b9a305a1 provisioner/salt-masterless: use communicator.UploadDir
13 years ago
Rafael Garcia 76393ba285 provisioner/salt-masterless: move states to /srv/salt, not /srv/salt/states
13 years ago
Mitchell Hashimoto ff970483c4 provisioner/shell: add more tests for UnixReader
13 years ago
Mitchell Hashimoto 5dfe27b40f provisioner/chef-solo: unused var
13 years ago
Mitchell Hashimoto 543a1a21e8 provisioner/chef-solo: alphabetize tests and such
13 years ago
Chris fd6415ddf5 formatting
13 years ago
Chris bc8e5d2c41 add environments_path and chef_environment support to chef provisioner
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
Kelsey Hightower e7b7d71f16 Add tests for ansible provisioner default settings
13 years ago
Kelsey Hightower 4d241b96c1 Define the default staging dir using a const var
13 years ago
Kelsey Hightower 365f356a0b Add tests for ansible-local provisioner
13 years ago
Kelsey Hightower ea3677387e Add ansible-local provisioner
13 years ago
Kirill Kazakov be80edb28e provisioner/chef-solo: fix .RolesPath and .DataBagsPath in the config template
13 years ago
Mitchell Hashimoto 25924a2d2b provisioner/puppet-masterless: user variables in puppet vars [GH-448]
13 years ago
Mitchell Hashimoto abbac36796 provisioner/shell: convert windows line endings to Unix [GH-277]
13 years ago
Mitchell Hashimoto 677f2989b9 provisioner/chef-solo: template doesn't support comp [GH-442]
13 years ago
Mitchell Hashimoto 1b1b535ee5 provisioner/chef-solo: one test per test
13 years ago
Mitchell Hashimoto ba9d85c744 provisioner/chef-solo: template process roles/data bags path
13 years ago
Mitchell Hashimoto 7034f69f2c provisioner/chef-solo: move quoting to template
13 years ago
Mitchell Hashimoto b2d5b15155 fmt
13 years ago
Mitchell Hashimoto 129f1290c1 Merge pull request #411 from jerryclinesmith/issue_348
13 years ago
Mitchell Hashimoto dc0232975d provisioner/chef-solo: ability to specify custom chef template
13 years ago
Jack Pearkes 8f5a185818 provisioner/puppet-masterless: remove duplicate manifest upload message
13 years ago
Justin Clayton cd2280f3bf facter vars no longer smush up against puppet command when prevent_sudo is true
13 years ago
Jerry Clinesmith fa2f277c67 #348: chef-solo provisioner: add support for data_bags and roles
13 years ago
Mitchell Hashimoto 8e44971b3d provisioner/puppet-masterless: proper exit code check
13 years ago