Commit Graph

300 Commits (97f3f31d3db94de8005c6095269e4ec881c40a9a)

Author SHA1 Message Date
Mitchell Hashimoto 404ae53a4a provisioner/salt-masterless: join paths properly
13 years ago
Matthew Hooker 9537f085ae clean up and retab.
13 years ago
Matthew Hooker 4b76b2d9e3 template expansion of `json` in chef-solo
13 years ago
Mitchell Hashimoto b4b68bce00 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 64fe98c465 provisioner/chef-solo: template process the configuration
13 years ago
Mitchell Hashimoto c9ef66651b fmt
13 years ago
Mitchell Hashimoto a8694fdda8 Merge pull request #353 from rach/add-setting-for-pillar-folder
13 years ago
Rachid Belaid a755be49fa Add doc and change pillar tree in roots to respect salt vocabulary
13 years ago
Rachid Belaid 7bdb5f9cfb Add setting for pillar folder to respect saltstack structure
13 years ago
Rachid Belaid 40af1e681a Fix minion config with non tmp dir
13 years ago
Mitchell Hashimoto 3b097f9805 provisioner/chef-solo: use proper exceute command
13 years ago
Mitchell Hashimoto 87dde46413 provisioner/chef-solo: remove unused constants and variables
13 years ago
Mitchell Hashimoto e72c06a740 provisioner/chef-solo: upload cookbooks
13 years ago
Mitchell Hashimoto 607372f75a provisioner/chef-solo: massive refactor and style nitpick
13 years ago
Mitchell Hashimoto 4a5a8c6006 provisioner/chef-solo: installChef fixed up to use tpl and StartWithUi
13 years ago
Mitchell Hashimoto 585cee9b4c Merge branch 'provisioner-chef-solo' of https://github.com/jvandyke/packer into jvandyke-provisioner-chef-solo
13 years ago
Mitchell Hashimoto 095631107a communicator/ssh: UploadDir works properly
13 years ago
Mitchell Hashimoto 80e36f11b9 provisioner/salt-masterless: fix the build
13 years ago
Rachid Belaid 3cb3a7cd30 Fix #264 to upload local minion config
13 years ago
Mitchell Hashimoto a46c7afcf7 provisioner/shell: retry the upload if command fails as well
13 years ago
Mitchell Hashimoto 717746ce4f provisioner/shell: retry uploads if reboot [GH-282]
13 years ago
Mitchell Hashimoto 64d87bfaf3 *: switch to packer ConfigTemplate
13 years ago
Mitchell Hashimoto 3ea4c720b1 provisioner/salt-masterless: switch replace to that prior replace works
13 years ago
Mitchell Hashimoto d60b769217 provisioner/salt-masterless: replace windows slash with linux [GH-276]
13 years ago
Mitchell Hashimoto 21f92715c0 provisioner/shell: start_retry_timeout for reboot handling [GH-260]
13 years ago
Mitchell Hashimoto 769c349def provisioner/salt-masterless: nice error even if bad exit status
13 years ago
Mitchell Hashimoto fb6d2754da packer: Add Machine func to Ui
13 years ago
Mitchell Hashimoto ffa7dff585 fmt
13 years ago
Rach Belaid 23b856332e #269 Make local_state_tree option not mandatory
13 years ago
Mitchell Hashimoto adfb6caa2b provisioner/salt-masterless: error if any commands exit with non-zero
13 years ago
Mitchell Hashimoto 72a7a5e69c provisioner/salt-masterless: don't delete states [GH-265]
13 years ago
Mitchell Hashimoto 55ad0058bc provisioner/salt-masterless: convert to new template stuff + user vars
13 years ago
Mitchell Hashimoto 332bdf6edc builder/*, provisioner/*: set user vars
13 years ago
Mitchell Hashimoto 3f1af409e2 provisioner/shell: tests passing and compiling
13 years ago
Mitchell Hashimoto f4b0e2248f provisioner/shell: convert to latest template stuff
13 years ago
Mitchell Hashimoto bf67c6c36e provisioner/file: use the template processing stuff
13 years ago
Rafael Garcia ec556044cd provisioner/file: state of the art config decoding
13 years ago
Rafael Garcia 25af1c8bd4 provisioner/shell: state of the art config decoding
13 years ago
Mitchell Hashimoto 5b7d8fbc74 rename builder/common to common since it is generally useful
13 years ago
Mitchell Hashimoto 25183e7702 provisioner/salt-masterless: remove Ui
13 years ago
Mitchell Hashimoto f7cbdf4112 provisioner/salt-masterless: verify local_state_tree exists
13 years ago
Mitchell Hashimoto 104fe91b48 provisioner/salt-masterless: use Messages for minor steps
13 years ago
Mitchell Hashimoto f3331afb1c provisioner/salt-masterless: don't capitalize Ui
13 years ago
Mitchell Hashimoto 7e5c64ca7f provisioner/salt-masterless: use common lib for config decoding
13 years ago
Mitchell Hashimoto aacca7d066 provisoner/salt-masterless: lowercase package name
13 years ago
Rafael Garcia 29993b30e4 provisioner/salt-masterless: rename
13 years ago
Rafael Garcia 7019281ad6 provisioner/salt: use cmd.StartWithUi
13 years ago
Rafael Garcia 5feadedba2 provisioner/salt: simple tests
13 years ago
Rafael Garcia 9c25bb5cd7 provisioner/salt: put state tree temporarily in /tmp/salt by default
13 years ago
Rafael Garcia 8f0d4890d9 provisioner/salt: copy local state tree to remote, run highstate
13 years ago
Rafael Garcia a74a515aa7 provisioner/salt: pass args to bootstrap
13 years ago
Rafael Garcia 361d7fbf8e provisioner/salt: install salt
13 years ago
Mitchell Hashimoto b64a2532f4 provisioner/shell: use StartWithUi
13 years ago
Mark Peek 0403932315 Log an upload error closer to when it occurs
13 years ago
James Van Dyke 74f36aaebd Remove debugging statement.
13 years ago
Mitchell Hashimoto 0b5f4d9d17 provisioner/shell: make build name and builder type env vars [GH-154]
13 years ago
Mitchell Hashimoto 3b4ef72e47 Unused keys are invalid in templates [GH-104]
13 years ago
James Van Dyke adaceb7766 Remove redundant code and clean up some string concatenation.
13 years ago
James Van Dyke 6a1d1cfb70 Improve logging.
13 years ago
James Van Dyke 0d33f9ae08 Add basic test file for provisioner-chef-solo.
13 years ago
James Van Dyke 355fdecafa Merge remote-tracking branch 'upstream/master' into provisioner-chef-solo
13 years ago
Mitchell Hashimoto 1745d4e831 provisioner/shell: close source script file handle
13 years ago
Mitchell Hashimoto b22743767e provisioner/shell: inline_shebang for inline scripts
13 years ago
Mitchell Hashimoto 6a5bbaa05d Merge pull request #133 from ubermuda/provisioner/shell/script-execution
13 years ago
James Van Dyke 13da0ef49b Rename configuration `avoid_sudo` to `prevent_sudo`
13 years ago
James Van Dyke c24e74c699 Remove errant die statement.
13 years ago
James Van Dyke 6e1e92f14f Implement `skip_install` configuration to skip Chef installation.
13 years ago
James Van Dyke 4e1d0f5a12 Implement `avoid_sudo` configuration option.
13 years ago
James Van Dyke 5f81e605e8 Rename configuration `cookbook_paths` to `cookbooks_paths` to
13 years ago
James Van Dyke 543fdbd8c2 Make JSON attributes work with real JSON!
13 years ago
Mitchell Hashimoto 1a2e4f9d0b fmt
13 years ago
James Van Dyke 712fd1f8fd First pass at Chef Solo provisioner.
13 years ago
Mitchell Hashimoto 32aabb6ea2 provisioner/file: style nitpicks
13 years ago
Eric Lathrop 3957d3dadc Implement file upload provisioner per #118.
13 years ago
Geoffrey Bachelet 43db2c23eb provisioner/shell: execute script directly instead of using /bin/sh
13 years ago
Mitchell Hashimoto 919c3935e1 Merge branch 'shell-env-vars'
13 years ago
Jack Pearkes d64797cc44 provisioner/shell: remove check for empty env vars config
13 years ago
Mitchell Hashimoto 17d0f5f71b provisioner/shell: rename "path" to "script"
13 years ago
Jack Pearkes e9d8e9f537 provisioner/shell: add support for environment variables to be injected
13 years ago
Mitchell Hashimoto 8cb2fd761e provisioner/shell: Error if a script fails
13 years ago
Mitchell Hashimoto e8cbb9f9b6 provisioner/shell: Error message if provisioning fails
13 years ago
Mitchell Hashimoto 9367df4a3f provisioner/shell: copy the scripts [GH-29]
13 years ago
Mitchell Hashimoto 7797676091 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