104 Commits

Author SHA1 Message Date
Rafael Garcia
880dd75675 provisioner/salt: use cmd.StartWithUi 2013-07-27 18:12:18 -07:00
Rafael Garcia
1b0d316456 provisioner/salt: simple tests 2013-07-27 00:14:32 -07:00
Rafael Garcia
8fe0733676 provisioner/salt: put state tree temporarily in /tmp/salt by default 2013-07-27 00:14:32 -07:00
Rafael Garcia
b883abe1e2 provisioner/salt: copy local state tree to remote, run highstate 2013-07-27 00:14:32 -07:00
Rafael Garcia
3654a9a9f5 provisioner/salt: pass args to bootstrap 2013-07-27 00:14:32 -07:00
Rafael Garcia
9bdd5a927a provisioner/salt: install salt 2013-07-27 00:14:32 -07:00
Mitchell Hashimoto
1c5e9848b5 provisioner/shell: use StartWithUi 2013-07-23 22:44:32 -05:00
Mark Peek
ed75091bd4 Log an upload error closer to when it occurs
When there is an error returned from the Upload it is propagated back
to the main loop and may have additional log messages before the actual
error is displayed. This displays a log message close to where the error
actually occurred.
2013-07-17 18:17:46 -07:00
James Van Dyke
428bc4d745 Remove debugging statement. 2013-07-15 16:38:26 -04:00
Mitchell Hashimoto
d8a0128d1f provisioner/shell: make build name and builder type env vars [GH-154] 2013-07-15 10:07:49 +09:00
Mitchell Hashimoto
a354f5fc08 Unused keys are invalid in templates [GH-104] 2013-07-14 09:28:56 +09:00
James Van Dyke
ba5d7a9d72 Remove redundant code and clean up some string concatenation.
Clean up Say statements.
2013-07-12 11:09:52 -04:00
James Van Dyke
a6f3bb3bb2 Improve logging.
Correct behavior for undefined recipe list.
Correct package name to upstream repo.
2013-07-11 12:22:15 -04:00
James Van Dyke
a84f26bfdf Add basic test file for provisioner-chef-solo. 2013-07-11 10:47:51 -04:00
James Van Dyke
24c4b5334b Merge remote-tracking branch 'upstream/master' into provisioner-chef-solo
Conflicts:
	config.go

Add the chef-solo provisioner back to config.go.
Fix import path for chef-solo provisioner.
2013-07-10 08:58:00 -04:00
Mitchell Hashimoto
ee1ad5fa56 provisioner/shell: close source script file handle 2013-07-07 20:50:53 -07:00
Mitchell Hashimoto
62430fdcea provisioner/shell: inline_shebang for inline scripts 2013-07-07 17:52:20 -07:00
Mitchell Hashimoto
b25bed634f Merge pull request #133 from ubermuda/provisioner/shell/script-execution
provisioner/shell: execute script directly instead of using /bin/sh
2013-07-07 17:47:25 -07:00
James Van Dyke
69f0049a44 Rename configuration avoid_sudo to prevent_sudo 2013-07-06 00:37:59 -04:00
James Van Dyke
3416f0760c Remove errant die statement. 2013-07-06 00:17:28 -04:00
James Van Dyke
e5e97f3cc1 Implement skip_install configuration to skip Chef installation. 2013-07-06 00:15:21 -04:00
James Van Dyke
552298b683 Implement avoid_sudo configuration option. 2013-07-05 23:56:51 -04:00
James Van Dyke
bb3ff62623 Rename configuration cookbook_paths to cookbooks_paths to
conform to Vagrant wording.
Remove configuration `cookbook_path` to simplify some things.
2013-07-05 22:33:24 -04:00
James Van Dyke
608d874b45 Make JSON attributes work with real JSON! 2013-07-05 21:57:56 -04:00
Mitchell Hashimoto
8b25acfab6 fmt 2013-07-05 11:00:18 -07:00
James Van Dyke
45a16fceac First pass at Chef Solo provisioner. 2013-07-05 00:26:48 -04:00
Mitchell Hashimoto
4f2344f48b provisioner/file: style nitpicks
/cc @ericlathrop
2013-07-04 12:50:00 -07:00
Eric Lathrop
c259f30e58 Implement file upload provisioner per #118. 2013-07-04 15:16:17 -04:00
Geoffrey Bachelet
e8d31bc21a provisioner/shell: execute script directly instead of using /bin/sh 2013-07-03 20:17:31 -04:00
Mitchell Hashimoto
8dc8fcce77 Merge branch 'shell-env-vars'
Conflicts:
	website/source/docs/provisioners/shell.html.markdown
2013-06-28 08:20:12 -04:00
Jack Pearkes
8d84d0cafa provisioner/shell: remove check for empty env vars config 2013-06-28 14:11:27 +02:00
Mitchell Hashimoto
09fabf1e22 provisioner/shell: rename "path" to "script" 2013-06-27 10:56:46 -07:00
Jack Pearkes
7b32212c97 provisioner/shell: add support for environment variables to be injected 2013-06-27 14:42:14 +02:00
Mitchell Hashimoto
d16d5eeec5 provisioner/shell: Error if a script fails 2013-06-26 17:52:49 -07:00
Mitchell Hashimoto
fc9604abb0 provisioner/shell: Error message if provisioning fails 2013-06-23 17:37:44 -07:00
Mitchell Hashimoto
0c59ad8087 provisioner/shell: copy the scripts [GH-29] 2013-06-23 11:56:49 -07:00
Mitchell Hashimoto
badad141d3 provisioner/shell: can specify multiple scripts to provision with 2013-06-20 13:45:54 -07:00
Mitchell Hashimoto
417f7e7f47 fmt 2013-06-11 14:09:31 -07:00
Mitchell Hashimoto
59b5902619 provisioner/shell: Support inline commands 2013-06-11 13:52:32 -07:00
Mitchell Hashimoto
690954cb51 provisioner/shell: validation 2013-06-11 13:42:15 -07:00
Mitchell Hashimoto
4a8278d49b provisioner/shell: Support setting the execute command 2013-06-06 23:14:31 -07:00
Mitchell Hashimoto
e9b552ba18 provisioner/shell: Remove TODO since we handled it 2013-06-06 22:39:52 -07:00
Mitchell Hashimoto
0a6d8ed75a packer: Add errors to Prepare 2013-06-06 17:07:42 -07:00
Mitchell Hashimoto
6b87c42ee6 packer: Change provisioner interface to take array of configs 2013-06-06 17:01:12 -07:00
Mitchell Hashimoto
c5d539ef13 command/build: Better prefixes 2013-06-03 11:40:08 -07:00
Mitchell Hashimoto
37937c1290 provisioner/shell: Use RemoteCmd.Wait 2013-06-03 10:56:12 -07:00
Mitchell Hashimoto
fdda64f48e provisioner/shell: Trim whitespace on output 2013-06-02 23:39:04 -07:00
Mitchell Hashimoto
684df67ca6 provisioner/shell: Adhere to new communicator API 2013-06-02 23:34:55 -07:00
Mitchell Hashimoto
ffcb7afbee provisioner/shell: Properly handle closed channels in select 2013-06-02 19:03:26 -07:00
Mitchell Hashimoto
cf732a913d provisioner/shell: stream output in real time 2013-06-01 21:59:33 -07:00