vagrant-cookbook-fetcher 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/ChangeLog +3 -0
  2. data/README.md +16 -10
  3. metadata +2 -2
data/ChangeLog CHANGED
@@ -1,3 +1,6 @@
1
+ 2013-04-17 0.0.10 Clinton Wolfe <clintoncwolfe at gmail dot com>
2
+ * Update README to include command integration, fix formatting
3
+
1
4
  2013-04-09 0.0.9 Clinton Wolfe <clintoncwolfe at gmail dot com>
2
5
  * Rewrite combined/ linker to be more flexible
3
6
  * Create two spec directories in combined/ - one symlinked from the perspective of
data/README.md CHANGED
@@ -7,16 +7,16 @@ A Vagrant plugin to automatically fetch cookbooks, roles, and such whenever you
7
7
 
8
8
  Once you set a URL in your Vagrantfile that provides a list of checkouts, this plugin will create two directory trees (checkouts and combined):
9
9
 
10
- my-vagrant-project
11
- |...Vagrantfile
12
- |...checkouts
13
- | |...checkout-foo
14
- | |...checkout-bar
15
- |...combined
16
- |...roles
17
- |...nodes
18
- |...data_bags
19
- |...specs
10
+ my-vagrant-project
11
+ |...Vagrantfile
12
+ |...checkouts
13
+ | |...checkout-foo
14
+ | |...checkout-bar
15
+ |...combined
16
+ |...roles
17
+ |...nodes
18
+ |...data_bags
19
+ |...spec_ext
20
20
 
21
21
  The plugin will loop through the list of checkouts, perform a clone/checkout or pull/update to make sure the checkout exists in the 'checkouts' directory.
22
22
 
@@ -24,6 +24,12 @@ Next, the plugin creates the 'combined' directory. Each checkout that has a rol
24
24
 
25
25
  Finally, the plugin configures chef-solo, setting the cookbook path (to an ordered array of the checkouts's cookbooks directories), the roles path (to the combined path), and the databags path (to the combined path).
26
26
 
27
+ ## Command Integration
28
+
29
+ The plugin integrates into the existing 'vagrant up', 'vagrant start', and 'vagrant provision' commands. When running these commands, the cookbooks will be updated before the provision occurs. Note that if no provision would occur (eg, using 'vagrant up' to resume a suspended VM), then no checkout will occur.
30
+
31
+ In addition, a new command is added, 'vagrant checkout', which simply runs the checkout and updates the symlinks, without doing a provision.
32
+
27
33
  ## Checkout List Format
28
34
 
29
35
  git,src@src.omniti.com:~internal/chef/common,omniti-internal-common,multi-repo,chef.key
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-cookbook-fetcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-06 00:00:00.000000000 Z
12
+ date: 2013-04-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: vagrant