Commit Graph

148 Commits (4e6d46bbd019826fee4f3c01bcb1b18dc0db03db)

Author SHA1 Message Date
Matthew Hooker e21e980647 template expansion of `json` in chef-solo
13 years ago
Mitchell Hashimoto caa4fce2d3 Merge branch 'fix-minion-config-with-non-tmp-dir' of https://github.com/rach/packer into rach-fix-minion-config-with-non-tmp-dir
13 years ago
Mitchell Hashimoto 6f1675ab6b provisioner/chef-solo: template process the configuration
13 years ago
Mitchell Hashimoto ec8ba97c11 fmt
13 years ago
Mitchell Hashimoto 06643423b1 Merge pull request #353 from rach/add-setting-for-pillar-folder
13 years ago
Rachid Belaid 99a7ae8792 Add doc and change pillar tree in roots to respect salt vocabulary
13 years ago
Rachid Belaid 2c03c1a64e Add setting for pillar folder to respect saltstack structure
13 years ago
Rachid Belaid c680fe3909 Fix minion config with non tmp dir
13 years ago
Mitchell Hashimoto 869c0b94ff provisioner/chef-solo: use proper exceute command
13 years ago
Mitchell Hashimoto 56a309941b provisioner/chef-solo: remove unused constants and variables
13 years ago
Mitchell Hashimoto fa2347e711 provisioner/chef-solo: upload cookbooks
13 years ago
Mitchell Hashimoto 5e841befee provisioner/chef-solo: massive refactor and style nitpick
13 years ago
Mitchell Hashimoto e43d08a3fc provisioner/chef-solo: installChef fixed up to use tpl and StartWithUi
13 years ago
Mitchell Hashimoto da1de12b78 Merge branch 'provisioner-chef-solo' of https://github.com/jvandyke/packer into jvandyke-provisioner-chef-solo
13 years ago
Mitchell Hashimoto aa47487960 communicator/ssh: UploadDir works properly
13 years ago
Mitchell Hashimoto 14517e6fa5 provisioner/salt-masterless: fix the build
13 years ago
Rachid Belaid 4b2d1efb13 Fix #264 to upload local minion config
13 years ago
Mitchell Hashimoto 99a7116939 provisioner/shell: retry the upload if command fails as well
13 years ago
Mitchell Hashimoto 6e99c468d4 provisioner/shell: retry uploads if reboot [GH-282]
13 years ago
Mitchell Hashimoto a1a7ff20c2 *: switch to packer ConfigTemplate
13 years ago
Mitchell Hashimoto 0a39650332 provisioner/salt-masterless: switch replace to that prior replace works
13 years ago
Mitchell Hashimoto 856f27bc9b provisioner/salt-masterless: replace windows slash with linux [GH-276]
13 years ago
Mitchell Hashimoto 9a2dbd54bf provisioner/shell: start_retry_timeout for reboot handling [GH-260]
13 years ago
Mitchell Hashimoto 4f58b20479 provisioner/salt-masterless: nice error even if bad exit status
13 years ago
Mitchell Hashimoto c8bc2bc1ba packer: Add Machine func to Ui
13 years ago
Mitchell Hashimoto f2355a577a fmt
13 years ago
Rach Belaid a4c555a5b7 #269 Make local_state_tree option not mandatory
13 years ago
Mitchell Hashimoto b25f0ceabf provisioner/salt-masterless: error if any commands exit with non-zero
13 years ago
Mitchell Hashimoto da4a7c3b70 provisioner/salt-masterless: don't delete states [GH-265]
13 years ago
Mitchell Hashimoto bf457f437c provisioner/salt-masterless: convert to new template stuff + user vars
13 years ago
Mitchell Hashimoto 100458955f builder/*, provisioner/*: set user vars
13 years ago
Mitchell Hashimoto 23803621e9 provisioner/shell: tests passing and compiling
13 years ago
Mitchell Hashimoto 1b01e82d8d provisioner/shell: convert to latest template stuff
13 years ago
Mitchell Hashimoto f66c145ee8 provisioner/file: use the template processing stuff
13 years ago
Rafael Garcia 485d5b86d0 provisioner/file: state of the art config decoding
13 years ago
Rafael Garcia b0d5bff98f provisioner/shell: state of the art config decoding
13 years ago
Mitchell Hashimoto ef59ee41a8 rename builder/common to common since it is generally useful
13 years ago
Mitchell Hashimoto fbc4a255d0 provisioner/salt-masterless: remove Ui
13 years ago
Mitchell Hashimoto 4c1db34ac9 provisioner/salt-masterless: verify local_state_tree exists
13 years ago
Mitchell Hashimoto 116692212c provisioner/salt-masterless: use Messages for minor steps
13 years ago
Mitchell Hashimoto 00921966ee provisioner/salt-masterless: don't capitalize Ui
13 years ago
Mitchell Hashimoto 5642fa01c8 provisioner/salt-masterless: use common lib for config decoding
13 years ago
Mitchell Hashimoto dc615ff317 provisoner/salt-masterless: lowercase package name
13 years ago
Rafael Garcia 728f9ecdbd provisioner/salt-masterless: rename
13 years ago
Rafael Garcia 880dd75675 provisioner/salt: use cmd.StartWithUi
13 years ago
Rafael Garcia 1b0d316456 provisioner/salt: simple tests
13 years ago
Rafael Garcia 8fe0733676 provisioner/salt: put state tree temporarily in /tmp/salt by default
13 years ago
Rafael Garcia b883abe1e2 provisioner/salt: copy local state tree to remote, run highstate
13 years ago
Rafael Garcia 3654a9a9f5 provisioner/salt: pass args to bootstrap
13 years ago
Rafael Garcia 9bdd5a927a provisioner/salt: install salt
13 years ago
Mitchell Hashimoto 1c5e9848b5 provisioner/shell: use StartWithUi
13 years ago
Mark Peek ed75091bd4 Log an upload error closer to when it occurs
13 years ago
James Van Dyke 428bc4d745 Remove debugging statement.
13 years ago
Mitchell Hashimoto d8a0128d1f provisioner/shell: make build name and builder type env vars [GH-154]
13 years ago
Mitchell Hashimoto a354f5fc08 Unused keys are invalid in templates [GH-104]
13 years ago
James Van Dyke ba5d7a9d72 Remove redundant code and clean up some string concatenation.
13 years ago
James Van Dyke a6f3bb3bb2 Improve logging.
13 years ago
James Van Dyke a84f26bfdf Add basic test file for provisioner-chef-solo.
13 years ago
James Van Dyke 24c4b5334b Merge remote-tracking branch 'upstream/master' into provisioner-chef-solo
13 years ago
Mitchell Hashimoto ee1ad5fa56 provisioner/shell: close source script file handle
13 years ago
Mitchell Hashimoto 62430fdcea provisioner/shell: inline_shebang for inline scripts
13 years ago
Mitchell Hashimoto b25bed634f Merge pull request #133 from ubermuda/provisioner/shell/script-execution
13 years ago
James Van Dyke 69f0049a44 Rename configuration `avoid_sudo` to `prevent_sudo`
13 years ago
James Van Dyke 3416f0760c Remove errant die statement.
13 years ago
James Van Dyke e5e97f3cc1 Implement `skip_install` configuration to skip Chef installation.
13 years ago
James Van Dyke 552298b683 Implement `avoid_sudo` configuration option.
13 years ago
James Van Dyke bb3ff62623 Rename configuration `cookbook_paths` to `cookbooks_paths` to
13 years ago
James Van Dyke 608d874b45 Make JSON attributes work with real JSON!
13 years ago
Mitchell Hashimoto 8b25acfab6 fmt
13 years ago
James Van Dyke 45a16fceac First pass at Chef Solo provisioner.
13 years ago
Mitchell Hashimoto 4f2344f48b provisioner/file: style nitpicks
13 years ago
Eric Lathrop c259f30e58 Implement file upload provisioner per #118.
13 years ago
Geoffrey Bachelet e8d31bc21a provisioner/shell: execute script directly instead of using /bin/sh
13 years ago
Mitchell Hashimoto 8dc8fcce77 Merge branch 'shell-env-vars'
13 years ago
Jack Pearkes 8d84d0cafa provisioner/shell: remove check for empty env vars config
13 years ago
Mitchell Hashimoto 09fabf1e22 provisioner/shell: rename "path" to "script"
13 years ago
Jack Pearkes 7b32212c97 provisioner/shell: add support for environment variables to be injected
13 years ago
Mitchell Hashimoto d16d5eeec5 provisioner/shell: Error if a script fails
13 years ago
Mitchell Hashimoto fc9604abb0 provisioner/shell: Error message if provisioning fails
13 years ago
Mitchell Hashimoto 0c59ad8087 provisioner/shell: copy the scripts [GH-29]
13 years ago
Mitchell Hashimoto badad141d3 provisioner/shell: can specify multiple scripts to provision with
13 years ago
Mitchell Hashimoto 417f7e7f47 fmt
13 years ago
Mitchell Hashimoto 59b5902619 provisioner/shell: Support inline commands
13 years ago
Mitchell Hashimoto 690954cb51 provisioner/shell: validation
13 years ago
Mitchell Hashimoto 4a8278d49b provisioner/shell: Support setting the execute command
13 years ago
Mitchell Hashimoto e9b552ba18 provisioner/shell: Remove TODO since we handled it
13 years ago
Mitchell Hashimoto 0a6d8ed75a packer: Add errors to Prepare
13 years ago
Mitchell Hashimoto 6b87c42ee6 packer: Change provisioner interface to take array of configs
13 years ago
Mitchell Hashimoto c5d539ef13 command/build: Better prefixes
13 years ago
Mitchell Hashimoto 37937c1290 provisioner/shell: Use RemoteCmd.Wait
13 years ago
Mitchell Hashimoto fdda64f48e provisioner/shell: Trim whitespace on output
13 years ago
Mitchell Hashimoto 684df67ca6 provisioner/shell: Adhere to new communicator API
13 years ago
Mitchell Hashimoto ffcb7afbee provisioner/shell: Properly handle closed channels in select
13 years ago
Mitchell Hashimoto cf732a913d provisioner/shell: stream output in real time
13 years ago
Mitchell Hashimoto ace53450b9 packer: More efficient RemoteCommand.ExitChan
13 years ago
Mitchell Hashimoto 9ebf0435ff provisioner/shell: Basic run
13 years ago
Mitchell Hashimoto f726ea2800 provisioner/shell: Start working on shell provisioner
13 years ago
Mitchell Hashimoto 46a058572b provisioner/shell and plugin/provisioner-shell
13 years ago