219 Commits

Author SHA1 Message Date
Mitchell Hashimoto
55ad0058bc provisioner/salt-masterless: convert to new template stuff + user vars 2013-08-09 15:57:08 -07:00
Mitchell Hashimoto
332bdf6edc builder/*, provisioner/*: set user vars 2013-08-09 15:57:08 -07:00
Mitchell Hashimoto
3f1af409e2 provisioner/shell: tests passing and compiling 2013-08-08 17:25:26 -07:00
Mitchell Hashimoto
f4b0e2248f provisioner/shell: convert to latest template stuff 2013-08-08 17:25:26 -07:00
Mitchell Hashimoto
bf67c6c36e provisioner/file: use the template processing stuff 2013-08-08 17:25:26 -07:00
Rafael Garcia
ec556044cd provisioner/file: state of the art config decoding 2013-08-06 15:30:49 -07:00
Rafael Garcia
25af1c8bd4 provisioner/shell: state of the art config decoding 2013-08-06 15:30:36 -07:00
Mitchell Hashimoto
5b7d8fbc74 rename builder/common to common since it is generally useful 2013-08-01 12:11:54 -07:00
Mitchell Hashimoto
25183e7702 provisioner/salt-masterless: remove Ui
/cc @rgarcia Should just pass it in as a param
2013-08-01 10:06:38 -07:00
Mitchell Hashimoto
f7cbdf4112 provisioner/salt-masterless: verify local_state_tree exists
/cc @rgarcia
2013-07-31 23:11:08 -07:00
Mitchell Hashimoto
104fe91b48 provisioner/salt-masterless: use Messages for minor steps
/cc @rgarcia - "Message" in Ui is the non-bold colored messages and
are meant for sub-messages or steps part of a larger message. "Say"
is used for the bold stuff. This is more in line wit how Packer works.
2013-07-31 23:07:15 -07:00
Mitchell Hashimoto
f3331afb1c provisioner/salt-masterless: don't capitalize Ui
/cc @rgarcia - Not sure why this was capitalized to begin with
2013-07-31 23:06:22 -07:00
Mitchell Hashimoto
7e5c64ca7f provisioner/salt-masterless: use common lib for config decoding
/cc @rgarcia - Since you opened the pull request, common config
decoding stuff has been pulled out into the common Package. This
simplifies a lot of code.
2013-07-31 23:05:15 -07:00
Mitchell Hashimoto
aacca7d066 provisoner/salt-masterless: lowercase package name
/cc @rgarcia - I don't know of any Go packages that follow this naming
convention so I just lowercased it.
2013-07-31 23:01:03 -07:00
Rafael Garcia
29993b30e4 provisioner/salt-masterless: rename 2013-07-28 23:30:03 -07:00
Rafael Garcia
7019281ad6 provisioner/salt: use cmd.StartWithUi 2013-07-27 18:12:18 -07:00
Rafael Garcia
5feadedba2 provisioner/salt: simple tests 2013-07-27 00:14:32 -07:00
Rafael Garcia
9c25bb5cd7 provisioner/salt: put state tree temporarily in /tmp/salt by default 2013-07-27 00:14:32 -07:00
Rafael Garcia
8f0d4890d9 provisioner/salt: copy local state tree to remote, run highstate 2013-07-27 00:14:32 -07:00
Rafael Garcia
a74a515aa7 provisioner/salt: pass args to bootstrap 2013-07-27 00:14:32 -07:00
Rafael Garcia
361d7fbf8e provisioner/salt: install salt 2013-07-27 00:14:32 -07:00
Mitchell Hashimoto
b64a2532f4 provisioner/shell: use StartWithUi 2013-07-23 22:44:32 -05:00
Mark Peek
0403932315 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
74f36aaebd Remove debugging statement. 2013-07-15 16:38:26 -04:00
Mitchell Hashimoto
0b5f4d9d17 provisioner/shell: make build name and builder type env vars [GH-154] 2013-07-15 10:07:49 +09:00
Mitchell Hashimoto
3b4ef72e47 Unused keys are invalid in templates [GH-104] 2013-07-14 09:28:56 +09:00
James Van Dyke
adaceb7766 Remove redundant code and clean up some string concatenation.
Clean up Say statements.
2013-07-12 11:09:52 -04:00
James Van Dyke
6a1d1cfb70 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
0d33f9ae08 Add basic test file for provisioner-chef-solo. 2013-07-11 10:47:51 -04:00
James Van Dyke
355fdecafa 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
1745d4e831 provisioner/shell: close source script file handle 2013-07-07 20:50:53 -07:00
Mitchell Hashimoto
b22743767e provisioner/shell: inline_shebang for inline scripts 2013-07-07 17:52:20 -07:00
Mitchell Hashimoto
6a5bbaa05d 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
13da0ef49b Rename configuration avoid_sudo to prevent_sudo 2013-07-06 00:37:59 -04:00
James Van Dyke
c24e74c699 Remove errant die statement. 2013-07-06 00:17:28 -04:00
James Van Dyke
6e1e92f14f Implement skip_install configuration to skip Chef installation. 2013-07-06 00:15:21 -04:00
James Van Dyke
4e1d0f5a12 Implement avoid_sudo configuration option. 2013-07-05 23:56:51 -04:00
James Van Dyke
5f81e605e8 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
543fdbd8c2 Make JSON attributes work with real JSON! 2013-07-05 21:57:56 -04:00
Mitchell Hashimoto
1a2e4f9d0b fmt 2013-07-05 11:00:18 -07:00
James Van Dyke
712fd1f8fd First pass at Chef Solo provisioner. 2013-07-05 00:26:48 -04:00
Mitchell Hashimoto
32aabb6ea2 provisioner/file: style nitpicks
/cc @ericlathrop
2013-07-04 12:50:00 -07:00
Eric Lathrop
3957d3dadc Implement file upload provisioner per #118. 2013-07-04 15:16:17 -04:00
Geoffrey Bachelet
43db2c23eb provisioner/shell: execute script directly instead of using /bin/sh 2013-07-03 20:17:31 -04:00
Mitchell Hashimoto
919c3935e1 Merge branch 'shell-env-vars'
Conflicts:
	website/source/docs/provisioners/shell.html.markdown
2013-06-28 08:20:12 -04:00
Jack Pearkes
d64797cc44 provisioner/shell: remove check for empty env vars config 2013-06-28 14:11:27 +02:00
Mitchell Hashimoto
17d0f5f71b provisioner/shell: rename "path" to "script" 2013-06-27 10:56:46 -07:00
Jack Pearkes
e9d8e9f537 provisioner/shell: add support for environment variables to be injected 2013-06-27 14:42:14 +02:00
Mitchell Hashimoto
8cb2fd761e provisioner/shell: Error if a script fails 2013-06-26 17:52:49 -07:00
Mitchell Hashimoto
e8cbb9f9b6 provisioner/shell: Error message if provisioning fails 2013-06-23 17:37:44 -07:00