vagrant-toplevel-cookbooks 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -7
- data/Gemfile +2 -2
- data/Vagrantfile +2 -3
- data/lib/vagrant-toplevel-cookbooks/action/clone.rb +9 -2
- data/lib/vagrant-toplevel-cookbooks/version.rb +1 -1
- data/vagrant-toplevel-cookbooks.gemspec +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60fc75bf5956d9291be79558a0c1cf69c6f5bafd
|
4
|
+
data.tar.gz: a9bf5ffb30fe6c71dd7803d81aa44b2de6e88aa7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc6ddf6a9ead9a26183c5075f7be331c666ebc35f7c6808df25e878d57ff0e4122baedae6e424d3094dd288c4455042c03f6b7a74098c0a3a21417d6ed53b6cd
|
7
|
+
data.tar.gz: b46fb542badabe16d908f7d58c35f7cf00886de6e146e953f7e15cafd1ee20401a5dcb6360998f3c1e94ea973f1404ae7716fcd51661ff7ab9a4dea9964656c1
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,16 @@
|
|
1
1
|
|
2
|
-
#
|
2
|
+
# CHANGELOG
|
3
|
+
|
4
|
+
## 0.2.2 (December 15, 2014)
|
5
|
+
|
6
|
+
* add missing license information to gemspec ([#4](https://github.com/tknerr/vagrant-toplevel-cookbooks/issues/4))
|
7
|
+
* add compatibility with vagrant 1.7+
|
8
|
+
|
9
|
+
## 0.2.1 (July 7, 2014)
|
3
10
|
|
4
11
|
* bugfix: ensure we are not in a bundle context when running `berks vendor`
|
5
12
|
|
6
|
-
|
13
|
+
## 0.2.0 (July 7, 2014)
|
7
14
|
|
8
15
|
* several **breaking changes**:
|
9
16
|
* rename plugin to "vagrant-toplevel-cookbooks"
|
@@ -11,23 +18,23 @@
|
|
11
18
|
* remove berkshelf gem dependency (`berks` must be on the `$PATH`)
|
12
19
|
* update development dependencies to latest vagrant 1.6 and adapt Vagrantfile samples
|
13
20
|
|
14
|
-
|
21
|
+
## 0.1.4 (Oct 5, 2013)
|
15
22
|
|
16
23
|
* Use Berkshelf API rather than shelling out
|
17
24
|
|
18
|
-
|
25
|
+
## 0.1.3 (Oct 5, 2013)
|
19
26
|
|
20
27
|
* Fix permanently thrown exception (left-over from debugging)
|
21
28
|
|
22
|
-
|
29
|
+
## 0.1.2 (Oct 5, 2013)
|
23
30
|
|
24
31
|
* Silence output of git commands
|
25
32
|
* Fix several issues with checkout and updating of refs
|
26
33
|
|
27
|
-
|
34
|
+
## 0.1.1 (Oct 5, 2013)
|
28
35
|
|
29
36
|
* Fix missing berkshelf dependency
|
30
37
|
|
31
|
-
|
38
|
+
## 0.1.0 (Oct 5, 2013)
|
32
39
|
|
33
40
|
* Initial release
|
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.7.1",
|
10
10
|
git: "https://github.com/mitchellh/vagrant.git",
|
11
|
-
ref: "v1.
|
11
|
+
ref: "v1.7.1"
|
12
12
|
gem "berkshelf", "3.1.3"
|
13
13
|
end
|
14
14
|
|
data/Vagrantfile
CHANGED
@@ -3,11 +3,10 @@
|
|
3
3
|
|
4
4
|
Vagrant.configure("2") do |config|
|
5
5
|
|
6
|
-
config.omnibus.chef_version = "11.
|
6
|
+
config.omnibus.chef_version = "11.14.0.rc.2"
|
7
7
|
config.cache.scope = :box
|
8
8
|
|
9
|
-
config.vm.box = "
|
10
|
-
config.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box"
|
9
|
+
config.vm.box = "chef/ubuntu-12.04-i386"
|
11
10
|
|
12
11
|
#
|
13
12
|
# configure vm to be deployed with toplevel cookbook
|
@@ -20,8 +20,15 @@ module VagrantPlugins
|
|
20
20
|
@git_ref = env[:machine].config.toplevel_cookbook.ref
|
21
21
|
end
|
22
22
|
|
23
|
-
def provisioners(
|
24
|
-
@env[:machine].config.vm.provisioners.select
|
23
|
+
def provisioners(type)
|
24
|
+
@env[:machine].config.vm.provisioners.select do |provisioner|
|
25
|
+
if (provisioner.respond_to? :type)
|
26
|
+
# Vagrant 1.7+ compatibility
|
27
|
+
provisioner.type == type
|
28
|
+
else
|
29
|
+
provisioner.name == type
|
30
|
+
end
|
31
|
+
end
|
25
32
|
end
|
26
33
|
|
27
34
|
def log(msg)
|
@@ -10,6 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.homepage = "https://github.com/tknerr/vagrant-toplevel-cookbooks"
|
11
11
|
s.summary = "Deploy Chef \"Top-Level Cookbooks\" directly from a Git repository"
|
12
12
|
s.description = "Deploy Chef \"Top-Level Cookbooks\" directly from a Git repository"
|
13
|
+
s.license = "MIT"
|
13
14
|
|
14
15
|
s.required_rubygems_version = ">= 1.3.6"
|
15
16
|
s.rubyforge_project = "vagrant-toplevel-cookbooks"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-toplevel-cookbooks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Torben Knerr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -91,7 +91,8 @@ files:
|
|
91
91
|
- .rspec
|
92
92
|
- .travis.yml
|
93
93
|
homepage: https://github.com/tknerr/vagrant-toplevel-cookbooks
|
94
|
-
licenses:
|
94
|
+
licenses:
|
95
|
+
- MIT
|
95
96
|
metadata: {}
|
96
97
|
post_install_message:
|
97
98
|
rdoc_options: []
|