beaker-vagrant 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- Y2U0MmM2YjliMGU4NDMyM2Y1YjJhYjI0YjQxN2RiMjA2MjUzZWVhYQ==
5
- data.tar.gz: !binary |-
6
- MmZmNWM2NzczNWIwMzk5NmFmMWFmZjFiYWFiODkyNmQyOTNkMzRmNQ==
2
+ SHA1:
3
+ metadata.gz: 5f1e22708ae31e2018dee7e71a8573facc743cd5
4
+ data.tar.gz: 475016e76a1aa61c1097f5f9e5de05c122f81fcf
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZmJhZWE4OTljNmQ1YTExMmRhZDI2M2YyNWFkMDliYjUxZGQyOGFjMWZjMjli
10
- ZDhmN2JmYmJjMmU2NDBmZjNkZGY1ZjhhZWU0Zjc3NTU2MWZlMDFlMTJkNTI4
11
- MGM3OTBlODdhYWU3OWIyMjA1Y2NlODEyYjVhMDA1NjliMTU4Yzk=
12
- data.tar.gz: !binary |-
13
- OGQxMDAxZmY2NDVlNDMyZTFjNThiMjU0MmFhYTQ4YTBjZjgxMDIyYjFjMTFh
14
- YjkwMWFjZWU2MWUwNjA0ODJhYTU3OGNjYTg1YmExNmIwMDBmYTFkMzM4NTlm
15
- MzA2MzVlMTVkOTVkZTExYWQxNTZkZmIzNWUyMGQ2MGE2YWRmMGM=
6
+ metadata.gz: 33b6773262aa3804cdc8702626ee82f697149b4cbd17831bde771d32a47f008db4e8aba8bbde126d429ccf3dd798212d02b84fca686655fecd22378ff93e74c7
7
+ data.tar.gz: f19f9d8d62904115723704c993539252d1203eaed36010f2351d15d39a9572dc3bf40a1e9ca9aeee6d6500510906a0217c1ad443cd21e2219d5ba63abe18eb0a
data/docs/vagrant.md CHANGED
@@ -158,6 +158,27 @@ When using the Vagrant Hypervisor, beaker can create the Vagrantfile to forward
158
158
 
159
159
  In the above, beaker will forward port 10080 and 8080 on the Host to port 80 and 8080 (respectively) on the Agent guest.
160
160
 
161
+ ### Volumes Support
162
+
163
+ When using the Vagrant Hypervisor, beaker can create attached volumes which appear as extra disks on the guest. The size of the volume should be specified in megabytes.
164
+
165
+ **Example hosts file**
166
+
167
+ HOSTS:
168
+ ubuntu-1404-x64:
169
+ roles:
170
+ - master
171
+ - agent
172
+ - dashboard
173
+ - cloudpro
174
+ platform: ubuntu-1404-x86_64
175
+ hypervisor: vagrant
176
+ box: puppetlabs/ubuntu-14.04-64-nocm
177
+ box_url: https://vagrantcloud.com/puppetlabs/boxes/ubuntu-14.04-64-nocm
178
+ volumes:
179
+ second_disk:
180
+ size: 5120
181
+
161
182
  # vagrant plugins #
162
183
 
163
184
  You can check more information for some suported vagrant plugins:
@@ -1,3 +1,3 @@
1
1
  module BeakerVagrant
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
@@ -53,6 +53,8 @@ class Beaker::VagrantVirtualbox < Beaker::Vagrant
53
53
  end
54
54
  end
55
55
 
56
+ provider_section << " vb.customize [\"modifyvm\", :id, \"--ioapic\", \"on\"]\n" unless host['ioapic'].nil?
57
+
56
58
  provider_section << " vb.customize [\"modifyvm\", :id, \"--natdnshostresolver1\", \"#{host['natdns']}\"]\n" unless host['natdns'].nil?
57
59
 
58
60
  provider_section << " vb.customize [\"modifyvm\", :id, \"--natdnsproxy1\", \"#{host['natdns']}\"]\n" unless host['natdns'].nil?
@@ -41,4 +41,14 @@ describe Beaker::VagrantVirtualbox do
41
41
 
42
42
  end
43
43
 
44
+ it "can enable ioapic(multiple cores) on hosts" do
45
+ path = vagrant.instance_variable_get( :@vagrant_path )
46
+ hosts = make_hosts({:ioapic => 'true'},1)
47
+
48
+ vagrant.make_vfile( hosts )
49
+
50
+ vagrantfile = File.read( File.expand_path( File.join( path, 'Vagrantfile' )))
51
+ expect( vagrantfile ).to include( %Q{ vb.customize ["modifyvm", :id, "--ioapic", "on"]})
52
+ end
53
+
44
54
  end
metadata CHANGED
@@ -1,153 +1,153 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-vagrant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rishi Javia, Kevin Imber, Tony Vu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-09 00:00:00.000000000 Z
11
+ date: 2018-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.0'
20
20
  type: :development
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: '3.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-its
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
42
  name: fakefs
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0.6'
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.6'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '10.1'
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: '10.1'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: simplecov
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: pry
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0.10'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0.10'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: yard
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ! '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ! '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: markdown
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ! '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ! '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: thin
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ! '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ! '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: stringify-hash
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ~>
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
145
  version: 0.0.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ~>
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
152
  version: 0.0.0
153
153
  description: For use for the Beaker acceptance testing tool
@@ -158,9 +158,9 @@ executables:
158
158
  extensions: []
159
159
  extra_rdoc_files: []
160
160
  files:
161
- - .gitignore
162
- - .rspec
163
- - .simplecov
161
+ - ".gitignore"
162
+ - ".rspec"
163
+ - ".simplecov"
164
164
  - Gemfile
165
165
  - LICENSE
166
166
  - README.md
@@ -197,17 +197,17 @@ require_paths:
197
197
  - lib
198
198
  required_ruby_version: !ruby/object:Gem::Requirement
199
199
  requirements:
200
- - - ! '>='
200
+ - - ">="
201
201
  - !ruby/object:Gem::Version
202
202
  version: '0'
203
203
  required_rubygems_version: !ruby/object:Gem::Requirement
204
204
  requirements:
205
- - - ! '>='
205
+ - - ">="
206
206
  - !ruby/object:Gem::Version
207
207
  version: '0'
208
208
  requirements: []
209
209
  rubyforge_project:
210
- rubygems_version: 2.4.8
210
+ rubygems_version: 2.5.1
211
211
  signing_key:
212
212
  specification_version: 4
213
213
  summary: Beaker DSL Extension Helpers!