Commit Graph

266 Commits

Author SHA1 Message Date
Billie H. Cleek bf3c294326 listen on system chosen port
Change the default for LocalPort to "0", so that the listener will be a
system chosen port.
2016-01-28 22:22:12 -08:00
Chris Bednarski 15f99a4aee Merge branch 'ansible-provisioner' of https://github.com/bhcleek/packer into f-ansible 2016-01-28 15:16:54 -08:00
Chris Bednarski 87532b1b00 Merge branch 'chef-provisioner-windows' of https://github.com/sneal/packer into f-chef-provisioner-windows 2016-01-28 14:55:17 -08:00
Matt Black 33071150c1 Salt provisioner: option to set logging level on Salt highstate run 2016-01-26 13:09:15 +00:00
Matt Black 9ccf298be9 Salt provisioner: option to ignore salt highstate failures fixes #2486 2016-01-26 13:09:15 +00:00
Matt Black 5cd15b52c5 Salt provisioner: dynamic command line args passed onto salt-call fixes #2652 2016-01-26 13:09:15 +00:00
Tyler Tidman 520e0fb7f5 Use monospaced-font for remote_path and start_retry_timeout string defaults 2016-01-22 12:46:00 -05:00
Chris Bednarski 46e36a3528 Merge pull request #2703 from kpettijohn/chef-client-local-mode-example
docs: chef-client local mode example
2016-01-14 17:29:22 -08:00
Seth Vargo c0b46b2fb8 Use SSL for resources 2016-01-14 15:31:19 -05:00
Chris Bednarski 3eabc6253d Merge pull request #2653 from evertrue/evertrue/eherot/add_data_bag_secret_to_chef_client
Chef-client provisioner: Add encrypted data bag secret path (Fixes #1945)
2016-01-13 13:59:48 -08:00
Tyler Tidman 5a4b81fa3c Fix typo in shell-local command example 2016-01-11 10:58:01 -05:00
Chris Bednarski e9be2cff2b Merge pull request #2942 from dave2/shell_noclean
Add "skip_clean" boolean to shell provisioner.
2015-12-18 11:35:47 -05:00
BetaGrumm 4b88403690 Update file.html.markdown
Fixed typo: Missing "i" in the word "will".
2015-12-09 11:49:04 -08:00
Chris Bednarski 692b227ac3 Merge pull request #2963 from pepoirot/ansible-provisioner-notice
Add a notice that Ansible needs to be already present on the target.
2015-12-04 12:06:31 -08:00
Hiroyuki MORITA d67d2b9d6b ansible-local doc is not styled
https://www.packer.io/docs/provisioners/ansible-local.html#inventory_file
2015-11-25 03:39:06 +09:00
Pierre-Etienne Poirot bb34c7ec58 Add a notice that Ansible needs to be already present on the target.
Like the 'puppet-masterless' and 'puppet-server' provisioners (and
unlike the 'chef-solo' and 'chef-client' provisioners), the
'ansible-local' currently requires Ansible to be present on the
provisioned image.

The relevant issue to add an install option to the provisioner is:
https://github.com/mitchellh/packer/issues/2010

Until then, a notice similar to the 'puppet-masterless' and
'puppet-server' ones is added.
2015-11-23 14:19:15 +11:00
David Zanetti 6c121fa35b Change shell doc from 'noclean' to 'skip_clean' 2015-11-19 16:06:59 +13:00
David Zanetti bdf68c14a8 Update documentation of shell remote_path variable
It is not a path as implied by docs, but a specific filename.
Update default to currently implemented default.
2015-11-17 16:01:28 +13:00
David Zanetti 3d23655f2f Add "noclean" boolean to shell provisioner. This stops the provisioner from
attempting to remove helper scripts it creates. As noted on #2803 this can
be useful when deleting the build user from an AMI or other template.
2015-11-16 16:37:09 +13:00
Chris Bednarski 08f275c9de Merge pull request #2910 from Rican7/feature/puppet-masterless-provision-execute-options-config
Feature - Adding a new `options` config parameter to Puppet (masterless) provisionining
2015-11-04 11:27:07 -08:00
Trevor Suarez 627a8fe819 Renaming the config parameter from "options"
to "extra_arguments"
2015-11-03 17:55:03 -05:00
Trevor Suarez e41f0bb9f5 Adding documentation for the new configuration
parameter
2015-11-03 13:55:40 -05:00
Sergio Rodriguez b34525358d add "disable_sudo" configuration reference 2015-11-02 16:35:07 -05:00
Billie H. Cleek cc8ca3098e add ansible provisioner 2015-10-31 10:39:33 -07:00
Mark Peek 768ca5e7b5 Merge branch 'master' of https://github.com/Cbeck527/packer 2015-10-18 14:33:55 -07:00
Sébastien Fievet 3495204382 Fix ansible inventory example 2015-10-06 15:04:04 +02:00
Chris Becker 647a072257 Fix template error on ansible provisioner documentation 2015-10-05 13:19:21 -04:00
Shawn Neal 7195b2f35b Add Windows to Chef provisioner documentation 2015-10-01 10:04:59 -07:00
Eric Herot 5091f0a221 Add documentation about the encrypted data bag secret flag to the Chef Client provisioners section 2015-09-29 14:52:49 -04:00
Kevin Pettijohn 3034e12e5a Pandoc formating 2015-09-01 09:20:52 -07:00
Kevin Pettijohn 0950eac836 Add a chef-client local mode example
* Configure the `chef-client` provisioner for local mode
* Provide an example run_list
2015-08-31 19:54:18 -07:00
Tim Smith 14b39c5b51 Opscode -> Chef
Basic company name update
2015-08-20 16:26:18 -07:00
Chris Bednarski 07eff4c014 Reformat docs 2015-08-03 11:32:54 -07:00
Tyler Tidman db1a781b6e Rename .html.md files to .html.markdown
Fixes #2546.  Make files under website/source/docs/provisioners conform to
standards for rest of docs.
2015-08-03 13:02:01 -04:00
Chris Bednarski 3c517a65c3 Autoreformat 2015-07-30 21:16:11 -07:00
Chris Bednarski 84abbc2fe2 Merge pull request #2519 from BayanGroup/salt-remote-dirs
Add options to specify salt remote dirs
2015-07-30 19:06:59 -07:00
AmirAli Moinfar 63be0e3ea1 Add documentation for salt remote directories 2015-07-28 10:39:31 +04:30
AmirAli Moinfar b88afbf3c9 Revise documentation for minion config
* Update link to salt minion config.
* Clarify that minion config is a file.
2015-07-28 10:36:04 +04:30
Chris Bednarski d8e8f98b32 Change to 4 spaces 2015-07-22 20:25:58 -07:00
Chris Bednarski d57c051651 Reformat everything 2015-07-22 19:31:00 -07:00
Chris Bednarski 37c20e2bf0 Added links to puppet docs to clarify behavior of manifest with multiple files 2015-07-17 12:06:20 -07:00
Chris Bednarski 518ad704b7 Added notes to warn against manifest_dir and note that manifest_file can be overloaded with a directory 2015-07-16 18:18:59 -07:00
Chris Bednarski f27505626f Formatting tweak for ansible docs 2015-07-15 13:09:56 -07:00
Chris Bednarski 9b97726621 Merge branch 'documentation/ansible_inventory_groups' of https://github.com/Cbeck527/packer into b-ansible-inventory-docs 2015-07-15 13:09:04 -07:00
Chris Becker 6343d8f16a Update `inventory_groups` documentation for clarity 2015-07-14 21:53:38 -04:00
YuZakuro a6269671ec Fix inconsistent spelling
`(boolean)` is used in most cases, but `(bool)` is used in places.

I ran `find website/source/**/*.(markdown|md) | xargs sed -i 's/(bool)/(boolean)/g'`
2015-07-09 18:20:13 +09:00
Chris Bednarski 6c2e6c41d9 Added an example using tcsh with shell provisioner; reworded some of the execute_command docs 2015-06-29 17:06:49 -07:00
Peter Doherty 5896d96bdb Update docs for default configuration template
Update docs for default configuration template for the chef-client provisioner, to reflect the ability to set a custom validation_client_name
2015-06-25 16:03:24 -04:00
Mitchell Hashimoto 11e325738b Merge branch 'ansible-inventory-groups' of https://github.com/lyrixx/packer into lyrixx-ansible-inventory-groups 2015-06-22 12:35:50 -07:00
Mitchell Hashimoto d5c0f13d8f website: document local shell 2015-06-19 15:31:17 -07:00
Mitchell Hashimoto ed4acbc903 update CHANGELOG 2015-06-19 06:09:22 +02:00
Joel Scoble 301bd8ceb2 update the documented datatype for facter to 'object of key/value strings' for both puppet provisioners 2015-06-18 14:14:36 -05:00
Mitchell Hashimoto 49769a17c2 Merge pull request #2243 from mitchellh/f-powershell
Windows provisioners: powershell, windows-shell, windows-restart
2015-06-17 17:51:42 +02:00
Mitchell Hashimoto 6cda4fa548 Merge branch 'default_facts' of https://github.com/danzilio/packer into danzilio-default_facts 2015-06-15 15:29:23 -07:00
Mitchell Hashimoto 65916514c0 Merge branch 'puppet_working_dir' of https://github.com/ColinHebert/packer into ColinHebert-puppet_working_dir 2015-06-15 15:17:45 -07:00
Mitchell Hashimoto aee48239f7 website: document file download 2015-06-15 15:08:56 -07:00
Mitchell Hashimoto 906c45266d website: make warning for chef perms 2015-06-15 13:46:43 -07:00
Mitchell Hashimoto 106c9403ed provisioner/chef-client: chmod the directories 2015-06-15 13:41:07 -07:00
Mitchell Hashimoto bee3b59c40 Merge branch 'chef-client-client_key' of https://github.com/ameir/packer into ameir-chef-client-client_key 2015-06-15 13:40:33 -07:00
Mitchell Hashimoto e1530c39dc website: windows-shell 2015-06-14 11:27:48 -07:00
Mitchell Hashimoto 506a657775 website: doc windows-restart 2015-06-14 11:17:50 -07:00
Mitchell Hashimoto 9364809d01 website: document powershell 2015-06-14 11:08:32 -07:00
Mark Peek b2f8eb68e8 Enable ssh agent forwarding #1066 2015-06-13 17:15:49 -07:00
Mitchell Hashimoto 3ed73852be provisioner/shell: set -e on the shebang itself 2015-06-11 17:19:23 -04:00
Mitchell Hashimoto 9c1e461402 website: document chef_environment for chef-solo 2015-06-10 20:33:00 -07:00
Christoph Hartmann 1539b9459f replace opscode with chef 2015-06-07 15:12:05 +02:00
Ernie Hershey d903b6d56a Remove duplicate "directly" 2015-05-01 14:34:37 -04:00
Grégoire Pineau cd14cb7012 [Provisioner][Ansible] Added support for inventory group 2015-04-30 18:43:00 +02:00
Ameir Abdeldayem 4735ab004a Add docs for `client_key` option of `chef-client` provisioner. 2015-04-09 02:19:52 -04:00
Colin Hebert 34e34d1f18 Fix typo 2015-02-28 23:02:49 +11:00
David Danzilio d1445bc6fe Make PackerBuildName and PackerBuilderType available as Facts during a masterless run similar to the way we do with the Shell provisioner. 2015-02-24 21:44:00 -05:00
Emil Hessman 825cd7a86a website: address spelling mistakes 2015-02-21 09:27:04 +01:00
Paul Schooss fa1f04833c Adding documentation for the environments_path 2015-01-20 11:07:46 -08:00
Misha Brukman 61c95732dd provisioner/shell: Added punctuation. 2015-01-20 11:06:48 -05:00
Misha Brukman 239bdcef29 provisioner/shell: Added code formatting. 2015-01-20 11:06:37 -05:00
Misha Brukman e696bb7727 provisioner/shell: Fix link with parentheses. 2015-01-20 11:06:10 -05:00
Colin Hebert a100e9393b Add support for custom working directory for puppet 2015-01-11 10:25:48 +11:00
Malcolm Locke 07ed577ce0 Fix link to shell provisioner 2014-12-24 13:37:41 +13:00
Seth Vargo 0eb634ae6a Merge pull request #1525 from scott2449/master
Add default nodename for chef-client
2014-11-26 16:29:22 -05:00
Seth Vargo 67fad6c429 Add metadata description to all pages + include "Packer" for SEO 2014-10-22 17:41:53 -04:00
Seth Vargo 0800ebfe7a Use formatting helpers and labeled code blocks 2014-10-22 17:41:53 -04:00
amangoel 6150a281f5 Update chef-solo.html.markdown 2014-09-24 17:15:47 -07:00
Scott Rahner 4383b435a4 adding default nodename 2014-09-24 19:40:34 -04:00
Chris Spicer 840c4e4d02 Add group_vars and host_vars to Ansible provisioner docs to reflect current code 2014-09-10 15:37:05 -07:00
Mitchell Hashimoto 802168f4b5 Merge branch 'add-chef-environment' of github.com:cfortier2/packer into cfortier2-add-chef-environment
Conflicts:
	provisioner/chef-client/provisioner.go
2014-09-05 16:13:32 -07:00
Mitchell Hashimoto 23e2387d61 website: document needing knife [GH-1429] 2014-09-03 20:38:01 -07:00
Tehmasp Chaudhri 49e5b9d21d Changed to reflect the new httpS endpoint for Chef, since Chef 11.x 2014-07-16 16:49:26 -06:00
Benoit Benedetti 9462129bef Fix staging_directory default path 2014-05-26 14:27:17 +02:00
Kris 64c210f06d Fix website shell provisioner typo. 2014-05-23 18:10:50 -04:00
cfortier2 bf38fa9f4f reorder chef_environment alphabetically 2014-05-21 13:34:12 -04:00
cfortier2 fe743f96c7 update website chef-client provisioner page 2014-05-21 09:40:02 -04:00
rsabitov ef0c8c495c playbook_dir documentation 2014-05-11 23:12:47 +10:00
Ross Smith II d666b64fb8 website: alphabetized configuration options, added missing ones, standardized text 2014-05-04 10:47:56 -07:00
Mitchell Hashimoto c8b91f3dad website: clarify docs 2014-04-28 15:30:43 -07:00
Mitchell Hashimoto 667e3383fe Update CHANGELOG 2014-04-26 11:05:08 -07:00
Joe Gornick 6d56def162 Add inventory_file option to Ansible provisioner. 2014-04-04 14:58:48 -05:00
Joris van de Donk 6e397f6e85 Update URL for ansible local-playbooks in docs
The old URL wasn't available anymore and returned a 404
2014-02-28 08:52:04 +01:00
Mitchell Hashimoto ab97545a52 provisioner/puppet-server: docs 2014-02-24 09:51:48 -08:00
Mitchell Hashimoto 2af91addf9 Merge pull request #796 from Jimdo/puppet-server
Add puppet server provisioner
2014-02-24 09:49:27 -08:00
Mitchell Hashimoto 000e5b67ff provisioner/chef-client: docs and validation key path 2014-02-24 09:45:04 -08:00
Jan Brauer 3dd0f9d6ac Update documentation 2014-02-03 21:07:26 +01:00
jamie brim ec1adec029 provisioner/ansible: configurable command / args
allow users to provide a replacement command / extra args to the
ansible-local provisioner.

this is useful, for example, to unbuffer output when using the
docker builder, or to modify ansible behavior, like enabling
verbose mode, injecting variables, or changing paths.
2014-01-22 14:34:34 -08:00
Jan Brauer 9d01684c1c Use sudo by default, as in puppet-masterless 2014-01-09 08:51:48 +01:00
Jan Brauer 58b06526f5 Update docs for puppet-server provisioner 2014-01-08 13:03:03 +01:00
Jan Brauer 864f4b5851 Add docs for puppet-server provisioner 2014-01-08 12:51:11 +01:00
Bob Potter 11353f182e website: really fix puppet provisioner cmd docs 2014-01-04 12:55:56 -06:00
Bob Potter 9c07d2d5b3 website: correct default puppet provisioner command 2013-12-31 15:06:08 -06:00
Mitchell Hashimoto 4274d1fcc1 website: use the comparison operators in Puppet docs 2013-12-11 12:39:42 -08:00
Mitchell Hashimoto 2986452804 provisioner/puppet-masterless: simplify manifest dir upload 2013-12-11 11:20:22 -08:00
Jan Brauer 89d72851a1 Update docs 2013-11-26 08:29:43 +01:00
Mitchell Hashimoto b96b2997a8 website: update chef solo docs 2013-11-18 16:14:33 -08:00
Jeff Quast 2728029db7 Update chef-solo.html.markdown
underscore of "data_bags" should be escaped; causes run-on italic
2013-11-14 16:13:20 -08:00
mmercer-appneta bddca94228 Added missing close-curly-brace to default value of execute_command. 2013-10-24 18:33:06 -07:00
Mitchell Hashimoto 6a3fd92275 Update CHANGELOG and link in Ansible 2013-10-20 17:48:03 -07:00
Mitchell Hashimoto d94cff93da Merge pull request #475 from kelseyhightower/ansible-provisioner
provisioner/ansible-local: Add support for provisioning with Ansible
2013-10-20 17:46:36 -07:00
Tate Eskew 7ad8b6d194 fix typo in docs for saltmasterless provisioner. bootstrap was spelled incorrectly 2013-10-17 11:12:21 -05:00
Kelsey Hightower fd7f1c8b9a Add ansible-local provisioner website docs 2013-09-29 13:56:43 -07:00
Nathan Sullivan c47f740946 fix variable name 2013-09-24 16:14:34 +10:00
Mitchell Hashimoto abbac36796 provisioner/shell: convert windows line endings to Unix [GH-277] 2013-09-20 10:22:43 -07:00
Tim Mower 9c519eda41 Fix syntax error in puppet template 2013-09-20 11:36:37 +01:00
Mitchell Hashimoto 129f1290c1 Merge pull request #411 from jerryclinesmith/issue_348
provisioners/chef-solo: add support for roles and data_bags
2013-09-18 14:13:41 -07:00
Mitchell Hashimoto dc0232975d provisioner/chef-solo: ability to specify custom chef template 2013-09-15 23:29:29 -07:00
Jerry Clinesmith bcf6d537dc #348: chef-solo provisioner: update docs 2013-09-10 22:00:52 -05:00
Mitchell Hashimoto adbb490189 provisioner/file: support uploading directories [GH-251] 2013-09-09 14:00:06 -07:00
Mitchell Hashimoto fd0df9ff58 provisioners/puppet-masterless: support hiera configs 2013-09-09 13:24:17 -07:00
Mitchell Hashimoto 41b70aae99 provisioner/puppet-masterless: support custom facts 2013-09-08 23:00:11 -07:00
Mitchell Hashimoto 107309ab67 website: document the Puppet provisioner 2013-09-07 23:56:00 -07:00
ttres 96f12e14dc Minor URL typo
URLs with special characters should escape them.
2013-09-05 16:27:38 -03:00
Mitchell Hashimoto 12e33f6c87 website: fix typo s/script/shell/ provisioner 2013-09-01 10:11:28 -07:00
Mitchell Hashimoto 04260e38ee website: page titles on provisioner docs 2013-09-01 10:02:46 -07:00
Mark Peek 4d42c79d1f website: add tip about using apt-get/yum -y to prevent hangs 2013-08-29 22:19:13 -07:00
Christopher Elkins c9352ce238 Fix incorrect config key for staging directory 2013-08-28 21:23:57 -07:00
Mitchell Hashimoto c781045935 website: document shuting down network interfaces for reboot 2013-08-28 10:46:45 -07:00
Mitchell Hashimoto a8694fdda8 Merge pull request #353 from rach/add-setting-for-pillar-folder
provisioner/salt-masterless: Add setting for pillar folder
2013-08-27 17:36:28 -07:00
Rachid Belaid a755be49fa Add doc and change pillar tree in roots to respect salt vocabulary 2013-08-28 01:01:37 +01:00
Mitchell Hashimoto e0414aa056 website: document chef solo provisioner 2013-08-27 14:29:52 -07:00
Mitchell Hashimoto 6d92e19a59 website: delete salt.html.markdown 2013-08-23 15:41:55 -07:00
Rachid Belaid 3cb3a7cd30 Fix #264 to upload local minion config
Conflicts:
	provisioner/salt-masterless/provisioner.go
	website/source/docs/provisioners/salt.html.markdown
2013-08-23 15:41:11 -07:00
Mark Peek c71419f701 website: tweak the formatting of the sleep tip 2013-08-20 23:45:02 -07:00
Adam Hawkins 9e48f5ea23 Fix syntax error 2013-08-21 01:35:48 +02:00
Adam Hawkins 70251a2c2a Add sleep tip about ssh 2013-08-21 01:34:48 +02:00
Mark Peek ad298abe48 website: add a troubleshooting section for the shell provisioner 2013-08-20 14:07:21 -07:00
Mitchell Hashimoto 026175e67c website: document handling reboots 2013-08-16 10:05:03 -07:00
Pierre Ozoux 2fe54acd98 typo in the link 2013-08-14 15:04:02 +01:00
Mitchell Hashimoto 21f92715c0 provisioner/shell: start_retry_timeout for reboot handling [GH-260] 2013-08-12 15:49:55 -07:00
Rach Belaid 23b856332e #269 Make local_state_tree option not mandatory
Update and rename salt.html.markdown to salt-masterless.html.markdown
salt.html.markdown had a better history and formatting
And remove local_state_tree from required option from code and docs
2013-08-10 16:18:57 +01:00
Rach Belaid df641d5953 Delete duplicate doc for Salt masterless provisionner
there is a other doc file for this called salt.html.markdown which contain a better history
2013-08-10 15:24:04 +01:00
Mitchell Hashimoto 8a3ee293af website: document {{.Vars}} in execute_command example [GH-241] 2013-08-03 13:40:31 -07:00
Mitchell Hashimoto 09ffe83e50 website: better salt-masterless docs 2013-07-31 23:21:16 -07:00
Rafael Garcia 29993b30e4 provisioner/salt-masterless: rename 2013-07-28 23:30:03 -07:00