vagrant-butcher 2.2.0 → 2.2.1
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.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/Vagrantfile +1 -1
- data/lib/vagrant-butcher/helpers/config.rb +5 -1
- data/lib/vagrant-butcher/plugin.rb +1 -1
- data/lib/vagrant-butcher/version.rb +1 -1
- data/vagrant-butcher.gemspec +1 -1
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c35158845ea77eab735dff17f8221b1d2c43d3cf
|
4
|
+
data.tar.gz: 4a05e71cee0725bf1d8bfc264051d2da9ade0d66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4830b1242d54cd1fe0a5758cb30407f20cfa225603405b5204cd8acf00dd5670cfc558246cd0e066077caa08f4b4a015bc6cb65db497364e35f437f384b8e8ed
|
7
|
+
data.tar.gz: cba4a8dcffe10e8772782142154e4b2199645056a19c36797fa0ed3f7d799578ddb1f0c8dbbe4cf63f39ca9ba2cf737868bd87aa82041ddfaec87f8ace33f8f6
|
data/README.md
CHANGED
@@ -42,7 +42,6 @@ Option | Default Value | Purpose
|
|
42
42
|
## <a id='caveats'></a>Caveats
|
43
43
|
|
44
44
|
* So far this has only been tested and confirmed to run with the VirtualBox and Rackspace provisioners. It should work with others, but if you run into issues please file a bug.
|
45
|
-
* It doesn't work with windows guests. If this is your case, either stick to version 1.x or (better) file bug reports with the errors you get.
|
46
45
|
* The default `.` -> `/vagrant` shared folder should be mounted.
|
47
46
|
* `verify_ssl` is enabled by default. You might want to disable that if, for example, you run your own Chef server with a self-signed cert. Check [here](#configuration) to see how.
|
48
47
|
|
data/Vagrantfile
CHANGED
@@ -7,7 +7,7 @@ VAGRANTFILE_API_VERSION = "2"
|
|
7
7
|
orgname = ENV['CHEF_ORGNAME']
|
8
8
|
|
9
9
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
10
|
-
config.vm.box = "
|
10
|
+
config.vm.box = "chef/ubuntu-14.04"
|
11
11
|
# config.vm.network :private_network, ip: "192.168.33.10"
|
12
12
|
# config.vm.network :public_network
|
13
13
|
|
@@ -18,7 +18,11 @@ module Vagrant
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def chef_client?(env)
|
21
|
-
vm_config(env).provisioners.select
|
21
|
+
vm_config(env).provisioners.select do |p|
|
22
|
+
# At some point, Vagrant changed from name to type.
|
23
|
+
p.name == :chef_client || \
|
24
|
+
p.type == :chef_client
|
25
|
+
end.any?
|
22
26
|
end
|
23
27
|
|
24
28
|
def client_name(env)
|
@@ -18,7 +18,7 @@ module Vagrant
|
|
18
18
|
action_hook(:vagrant_butcher_copy_guest_key, :machine_action_provision, &method(:provision))
|
19
19
|
|
20
20
|
action_hook(:vagrant_butcher_cleanup, :machine_action_destroy) do |hook|
|
21
|
-
hook.
|
21
|
+
hook.before(::Vagrant::Action::Builtin::ProvisionerCleanup, Vagrant::Butcher::Action.cleanup)
|
22
22
|
end
|
23
23
|
|
24
24
|
config("butcher") do
|
data/vagrant-butcher.gemspec
CHANGED
@@ -21,6 +21,6 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.add_dependency "ridley", ">= 4.0.0"
|
22
22
|
|
23
23
|
gem.add_development_dependency "rspec"
|
24
|
-
gem.add_development_dependency "pry-
|
24
|
+
gem.add_development_dependency "pry-byebug"
|
25
25
|
gem.add_development_dependency "bundler", ">= 1.3"
|
26
26
|
end
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-butcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cassiano Leal
|
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: ridley
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 4.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 4.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: pry-
|
42
|
+
name: pry-byebug
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '1.3'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1.3'
|
69
69
|
description: Delete Chef client and node when destroying Vagrant VM
|
@@ -73,8 +73,8 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
-
- .gitignore
|
77
|
-
- .travis.yml
|
76
|
+
- ".gitignore"
|
77
|
+
- ".travis.yml"
|
78
78
|
- Gemfile
|
79
79
|
- LICENSE.txt
|
80
80
|
- README.md
|
@@ -108,12 +108,12 @@ require_paths:
|
|
108
108
|
- lib
|
109
109
|
required_ruby_version: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
|
-
- -
|
111
|
+
- - ">="
|
112
112
|
- !ruby/object:Gem::Version
|
113
113
|
version: '0'
|
114
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
|
-
- -
|
116
|
+
- - ">="
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '0'
|
119
119
|
requirements: []
|