Kirill Kazakov
7761c9329d
provisioner/chef-solo: fix .RolesPath and .DataBagsPath in the config template
2013-09-27 19:13:55 +04:00
Mitchell Hashimoto
3732d6863a
provisioner/chef-solo: template doesn't support comp [GH-442]
2013-09-19 11:54:24 -07:00
Mitchell Hashimoto
71b1548e8d
provisioner/chef-solo: template process roles/data bags path
...
/cc @jerryclinesmith
2013-09-18 14:17:54 -07:00
Mitchell Hashimoto
74017ec8d8
provisioner/chef-solo: move quoting to template
...
/cc @jerryclinesmith - I want the quoting to go into the template. I
realize the cookbooks path doesn't do this and you were following that.
That one is just weird because it is an array and Go templates kind of
suck.
2013-09-18 14:17:07 -07:00
Mitchell Hashimoto
f2687cbdd0
fmt
2013-09-18 14:14:18 -07:00
Mitchell Hashimoto
02e23aa10b
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
0bfbe02424
provisioner/chef-solo: ability to specify custom chef template
2013-09-15 23:29:29 -07:00
Jerry Clinesmith
eea960ba57
#348 : chef-solo provisioner: add support for data_bags and roles
2013-09-10 22:00:29 -05:00
Mitchell Hashimoto
84001c7c76
provisioner/*: implement Cancel
2013-08-30 23:23:36 -07:00
Mitchell Hashimoto
dbae49f0c8
provisioner/chef-solo: code re-org
2013-08-30 16:35:57 -07:00
Mitchell Hashimoto
4c4020f723
provisioner/chef-solo: properly escape user vars for JSON
...
/cc @mwhooker - I moved the processing up into Prepare so that any
errors will be shown during a validate pass. Also, I escape some stuff
in keys. Tests moved as well.
2013-08-30 16:05:04 -07:00
Matthew Hooker
fc595de0fd
clean up and retab.
2013-08-28 17:35:43 -07:00
Matthew Hooker
e21e980647
template expansion of `json` in chef-solo
...
Fixes #362
2013-08-28 17:27:22 -07:00
Mitchell Hashimoto
6f1675ab6b
provisioner/chef-solo: template process the configuration
2013-08-27 17:41:49 -07:00
Mitchell Hashimoto
869c0b94ff
provisioner/chef-solo: use proper exceute command
2013-08-27 14:35:11 -07:00
Mitchell Hashimoto
56a309941b
provisioner/chef-solo: remove unused constants and variables
2013-08-27 13:32:59 -07:00
Mitchell Hashimoto
fa2347e711
provisioner/chef-solo: upload cookbooks
2013-08-27 13:27:20 -07:00
Mitchell Hashimoto
5e841befee
provisioner/chef-solo: massive refactor and style nitpick
2013-08-27 13:27:20 -07:00
Mitchell Hashimoto
e43d08a3fc
provisioner/chef-solo: installChef fixed up to use tpl and StartWithUi
2013-08-27 13:27:20 -07:00
James Van Dyke
428bc4d745
Remove debugging statement.
2013-07-15 16:38:26 -04: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
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
James Van Dyke
45a16fceac
First pass at Chef Solo provisioner.
2013-07-05 00:26:48 -04:00