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.
- data/CHANGELOG.md +4 -0
- data/Gemfile +2 -2
- data/TODO.md +14 -14
- data/lib/vagrant-application-cookbooks/action/clone.rb +3 -3
- data/lib/vagrant-application-cookbooks/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
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.
|
9
|
+
gem "vagrant", "1.3.4",
|
10
10
|
:git => "https://github.com/mitchellh/vagrant.git",
|
11
|
-
:ref => "v1.
|
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
|
-
[
|
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
|
-
|
78
|
-
|
79
|
-
|
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
|
|
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.
|
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:
|
132
|
+
hash: -404805869
|
133
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
134
|
none: false
|
135
135
|
requirements:
|