vagrant-cookbook-fetcher 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -9,7 +9,8 @@ A Vagrant plugin to automatically fetch cookbooks, roles, and such whenever you
9
9
 
10
10
  For vagrant 1.0.x, use vagrant-cookbook-fetcher 0.0.x .
11
11
  For vagrant 1.1.x, use vagrant-cookbook-fetcher 0.1.x . It may or may not work.
12
- For vagrant 1.2.x+, use vagrant-cookbook-fetcher 0.1.+ .
12
+ For vagrant 1.2.x-1.6.x, use vagrant-cookbook-fetcher 0.1.+ .
13
+ For vagrant 1.7.x+, use vagrant-cookbook-fetcher 0.3.+
13
14
 
14
15
  ## Behavior
15
16
 
@@ -26,11 +27,11 @@ Once you set a URL in your Vagrantfile that provides a list of checkouts, this p
26
27
  |...data_bags
27
28
  |...spec_ext
28
29
 
29
- 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.
30
+ 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.
30
31
 
31
32
  Next, the plugin creates the 'combined' directory. Each checkout that has a roles directory gets its roles symlinked to; likewise for data bags and nodes. This feature allows you to have roles defined in multiple checkouts, and used from your local project. In the event of name collisions, the later checkout wins. The links are specially constructed to be valid from within the VM, so long as the v-root remains mounted at /vagrant .
32
33
 
33
- 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).
34
+ 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).
34
35
 
35
36
  ## Command Integration
36
37
 
@@ -72,6 +73,3 @@ If vagrant-berkshelf is detected, this plugin will disable itself, as you should
72
73
  ## TODO
73
74
 
74
75
  * Move everyone over to vagrant-berkshelf or PolicyFiles or something.
75
-
76
-
77
-
@@ -8,8 +8,7 @@ module VagrantPlugins
8
8
 
9
9
  def call(env)
10
10
  # there has got to be a better way
11
- provisioners_list = env[:machine].config.vm.provisioners
12
- chef_solo = provisioners_list.find { |p| p.name === :chef_solo }
11
+ chef_solo = env[:machine].config.vm.provisioners.find { |p| p.type === :chef_solo }
13
12
  vcf_config = env[:machine].config.cookbook_fetcher
14
13
 
15
14
  if chef_solo then
@@ -1,15 +1,15 @@
1
1
  module VagrantPlugins
2
2
  module CookbookFetcher
3
3
  NAME = "vagrant-cookbook-fetcher"
4
- VERSION = "0.2.1"
4
+ VERSION = "0.3.0"
5
5
  AUTHOR = "Clinton Wolfe"
6
6
  AUTHOR_EMAIL = "clintoncwolfe [at] gmail [dot] com"
7
7
  SUMMARY = "Fetch your Chef cookbooks whenever you provision"
8
8
  DESCRIPTION = "Whenever you run start, up, or provision, this plugin will dynamically fetch a list of checkouts from a URL; checkout each one; then create a combined roles directory, with symlinks."
9
- URL = "http://github.com/clintoncwolfe/vagrant-cookbook-fetcher"
9
+ URL = "http://github.com/clintoncwolfe/vagrant-cookbook-fetcher"
10
10
  end
11
11
  end
12
12
 
13
13
  # Some older Vagrantfiles looked for this symbol to detect VCF.
14
- module CookbookFetcher
14
+ module CookbookFetcher
15
15
  end
metadata CHANGED
@@ -1,55 +1,62 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: vagrant-cookbook-fetcher
3
- version: !ruby/object:Gem::Version
4
- version: 0.2.1
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.3.0
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Clinton Wolfe
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-13 00:00:00.000000000 Z
12
+
13
+ date: 2016-04-01 00:00:00 Z
13
14
  dependencies: []
15
+
14
16
  description: Fetch your Chef cookbooks whenever you provision
15
17
  email: clintoncwolfe [at] gmail [dot] com
16
18
  executables: []
19
+
17
20
  extensions: []
21
+
18
22
  extra_rdoc_files: []
19
- files:
23
+
24
+ files:
20
25
  - README.md
21
- - lib/vagrant-cookbook-fetcher/config.rb
22
26
  - lib/vagrant-cookbook-fetcher/action_fetch_cookbooks.rb
27
+ - lib/vagrant-cookbook-fetcher/action_set_chef_paths.rb
23
28
  - lib/vagrant-cookbook-fetcher/command.rb
24
- - lib/vagrant-cookbook-fetcher/version.rb
29
+ - lib/vagrant-cookbook-fetcher/config.rb
25
30
  - lib/vagrant-cookbook-fetcher/guts.rb
26
- - lib/vagrant-cookbook-fetcher/action_set_chef_paths.rb
27
31
  - lib/vagrant-cookbook-fetcher/plugin.rb
32
+ - lib/vagrant-cookbook-fetcher/version.rb
28
33
  - lib/vagrant-cookbook-fetcher.rb
29
34
  homepage: http://github.com/clintoncwolfe/vagrant-cookbook-fetcher
30
35
  licenses: []
36
+
31
37
  post_install_message:
32
38
  rdoc_options: []
33
- require_paths:
39
+
40
+ require_paths:
34
41
  - lib
35
- required_ruby_version: !ruby/object:Gem::Requirement
42
+ required_ruby_version: !ruby/object:Gem::Requirement
36
43
  none: false
37
- requirements:
38
- - - ! '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- required_rubygems_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: "0"
48
+ required_rubygems_version: !ruby/object:Gem::Requirement
42
49
  none: false
43
- requirements:
44
- - - ! '>='
45
- - !ruby/object:Gem::Version
46
- version: '0'
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: "0"
47
54
  requirements: []
55
+
48
56
  rubyforge_project: vagrant-cookbook-fetcher
49
- rubygems_version: 1.8.23
57
+ rubygems_version: 1.8.23.2
50
58
  signing_key:
51
59
  specification_version: 3
52
- summary: Whenever you run start, up, or provision, this plugin will dynamically fetch
53
- a list of checkouts from a URL; checkout each one; then create a combined roles
54
- directory, with symlinks.
60
+ summary: Whenever you run start, up, or provision, this plugin will dynamically fetch a list of checkouts from a URL; checkout each one; then create a combined roles directory, with symlinks.
55
61
  test_files: []
62
+