vagrant-application-cookbooks 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,8 @@
1
1
 
2
+ # 0.1.4 (Oct 5, 2013)
3
+
4
+ * Use Berkshelf API rather than shelling out
5
+
2
6
  # 0.1.3 (Oct 5, 2013)
3
7
 
4
8
  * Fix permanently thrown exception (left-over from debugging)
data/Gemfile CHANGED
@@ -6,9 +6,9 @@ group :development do
6
6
  # We depend on Vagrant for development, but we don't add it as a
7
7
  # gem dependency because we expect to be installed within the
8
8
  # Vagrant environment itself using `vagrant plugin`.
9
- gem "vagrant", "1.2.7",
9
+ gem "vagrant", "1.3.4",
10
10
  :git => "https://github.com/mitchellh/vagrant.git",
11
- :ref => "v1.2.7"
11
+ :ref => "v1.3.4"
12
12
  gem "vagrant-omnibus", "1.1.1"
13
13
  gem "vagrant-cachier", "0.3.3"
14
14
  end
data/TODO.md CHANGED
@@ -1,17 +1,17 @@
1
1
 
2
2
  # TODO
3
3
 
4
- [x] improve log/info output
5
- [-] configure app cookbook in chef_solo config rather than vm config
6
- [x] warn if cookbook_path is manually configured and will be overridden
7
- [x] skip everything (e.g. cloning, resolving deps) for vms which don't define an app cookbook
8
- [x] skip everything for vms which don't have a chef provisioner
9
- [x] support for cloning a specific ref / branch / tag
10
- [-] configure the default recipe automatically
11
- [ ] use Berkshelf Ruyb API rather than shelling out
12
- [x] add spec tests for the config
13
- [ ] add spec tests for the clone action
14
- [ ] check if url is a valid url
15
- [ ] use i18n
16
- [x] suppress stdout / stderr when shelling out git commands
17
- [ ] add support for more provisioners / dependency managers
4
+ - [x] improve log/info output
5
+ - [-] configure app cookbook in chef_solo config rather than vm config
6
+ - [x] warn if cookbook_path is manually configured and will be overridden
7
+ - [x] skip everything (e.g. cloning, resolving deps) for vms which don't define an app cookbook
8
+ - [x] skip everything for vms which don't have a chef provisioner
9
+ - [x] support for cloning a specific ref / branch / tag
10
+ - [-] configure the default recipe automatically
11
+ - [x] use Berkshelf Ruyb API rather than shelling out
12
+ - [x] add spec tests for the config
13
+ - [ ] add spec tests for the clone action
14
+ - [ ] check if url is a valid url
15
+ - [ ] use i18n
16
+ - [x] suppress stdout / stderr when shelling out git commands
17
+ - [ ] add support for more provisioners / dependency managers
@@ -74,9 +74,9 @@ module VagrantPlugins
74
74
 
75
75
  def install_cookbooks
76
76
  Dir.chdir(cloned_repo_path) do
77
- unless system("berks install --path #{cookbook_install_path}")
78
- raise "something went wrong while installing cookbook dependencies"
79
- end
77
+ require 'berkshelf'
78
+ berksfile = Berkshelf::Berksfile.from_file('Berksfile')
79
+ berksfile.install(path: cookbook_install_path)
80
80
  end
81
81
  end
82
82
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module ApplicationCookbooks
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-application-cookbooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -129,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  segments:
131
131
  - 0
132
- hash: 799389807
132
+ hash: -404805869
133
133
  required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  none: false
135
135
  requirements: