Commit Graph

78 Commits

Author SHA1 Message Date
Mitchell Hashimoto ba9d85c744 provisioner/chef-solo: template process roles/data bags path
/cc @jerryclinesmith
2013-09-18 14:17:54 -07:00
Mitchell Hashimoto 7034f69f2c 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 b2d5b15155 fmt 2013-09-18 14:14:18 -07:00
Mitchell Hashimoto 129f1290c1 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 dc0232975d provisioner/chef-solo: ability to specify custom chef template 2013-09-15 23:29:29 -07:00
Jerry Clinesmith fa2f277c67 #348: chef-solo provisioner: add support for data_bags and roles 2013-09-10 22:00:29 -05:00
Mitchell Hashimoto 28bf6122bd provisioner/*: implement Cancel 2013-08-30 23:23:36 -07:00
Mitchell Hashimoto 55b0b586d3 provisioner/chef-solo: code re-org 2013-08-30 16:35:57 -07:00
Mitchell Hashimoto 662e74d070 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 9537f085ae clean up and retab. 2013-08-28 17:35:43 -07:00
Matthew Hooker 4b76b2d9e3 template expansion of `json` in chef-solo
Fixes #362
2013-08-28 17:27:22 -07:00
Mitchell Hashimoto 64fe98c465 provisioner/chef-solo: template process the configuration 2013-08-27 17:41:49 -07:00
Mitchell Hashimoto 3b097f9805 provisioner/chef-solo: use proper exceute command 2013-08-27 14:35:11 -07:00
Mitchell Hashimoto 87dde46413 provisioner/chef-solo: remove unused constants and variables 2013-08-27 13:32:59 -07:00
Mitchell Hashimoto e72c06a740 provisioner/chef-solo: upload cookbooks 2013-08-27 13:27:20 -07:00
Mitchell Hashimoto 607372f75a provisioner/chef-solo: massive refactor and style nitpick 2013-08-27 13:27:20 -07:00
Mitchell Hashimoto 4a5a8c6006 provisioner/chef-solo: installChef fixed up to use tpl and StartWithUi 2013-08-27 13:27:20 -07:00
James Van Dyke 74f36aaebd Remove debugging statement. 2013-07-15 16:38:26 -04: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 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
James Van Dyke 712fd1f8fd First pass at Chef Solo provisioner. 2013-07-05 00:26:48 -04:00