14 Commits

Author SHA1 Message Date
Mitchell Hashimoto
7c7f5d48fe Don't need to call ".new" on raising exceptions 2010-12-21 20:04:21 -08:00
Brice Figureau
446ab32e0e Allow to recursively include files when packaging a box
This allows to bundle with a box a set of puppet manifests or chef cookbooks.
This supports both shell globbing and recursive copy of full directories.

Usage:

vagrant package ... --include=manifests
This would bundle the whole manifests/ directory

vagrant package ... --include=id*
This would bundle all files with prefix id in the produced box

Signed-off-by: Brice Figureau <brice@daysofwonder.com>
2010-12-14 21:51:33 -08:00
Mitchell Hashimoto
82d73ebe3c General validation middleware 2010-10-13 18:40:12 -07:00
Mitchell Hashimoto
d003cc4f32 UI methods no longer automatically translate. Makes it easier for plugin developers. 2010-09-21 18:12:24 -06:00
Mitchell Hashimoto
d5ad387f27 New vagrant package option --vagrantfile and changed semantics of --include (see CHANGELOG) 2010-09-12 23:20:13 -06:00
Mitchell Hashimoto
98bce8f836 General package action raises exceptions instead of using env.error 2010-08-28 13:54:59 -07:00
Mitchell Hashimoto
d8c4985046 I18n for general actions 2010-08-27 20:50:27 -07:00
Mitchell Hashimoto
9ab5a7c2b1 Switch the actions over to using the new UI objects. 2010-08-25 22:13:55 -07:00
John Bender
5c56e46739 Merge branch 'warden' 2010-08-25 00:26:07 -07:00
Mitchell Hashimoto
4844d6c12f Moved standard library requirements to the files which use them. Cleaned up vagrant.rb quite a bit. 2010-08-23 21:43:46 -07:00
John Bender
c519f14626 moved rescue to recover 2010-08-22 00:08:54 -07:00
John Bender
0c011e80c7 action general package moved to warden cleanup 2010-08-22 00:08:54 -07:00
Mitchell Hashimoto
e7ad0ab105 Some copy change for packaging to make it more generic 2010-07-28 07:40:21 -07:00
Mitchell Hashimoto
523cb1042a Moved the packaging action out to the General namespace, since it is now generalized 2010-07-27 23:54:24 -07:00