beaker-vmpooler 1.3.0 → 1.3.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 +21 -2
- data/lib/beaker-vmpooler/version.rb +1 -1
- data/lib/beaker/hypervisor/vmpooler.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 398587f9144cbcd031847218638f17cfc25c0d4c
|
|
4
|
+
data.tar.gz: ca7fefcf46535cc59a4432f6e5b5a9d6e8bfbf62
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e29529909c66b2fa310af7b1326ab675668ec3fe4839f9b2e75c89406629c52aa192450ee7b17aaf8955c555394fe5d124347e26a05ed94927be773842dec281
|
|
7
|
+
data.tar.gz: 26383a7182193e9645284ff464813e930742421813d823ee32857d5ff06564964d0e95cd302500d8fbd9e362e51e20fe3ac5115284b5356f37a04684718963a5
|
data/README.md
CHANGED
|
@@ -3,8 +3,27 @@
|
|
|
3
3
|
Beaker library to use vmpooler hypervisor
|
|
4
4
|
|
|
5
5
|
# How to use this wizardry
|
|
6
|
-
|
|
7
|
-
This is a gem that allows you to use hosts with [vmpooler](vmpooler.md) hypervisor with [beaker](https://github.com/puppetlabs/beaker).
|
|
6
|
+
|
|
7
|
+
This is a gem that allows you to use hosts with [vmpooler](vmpooler.md) hypervisor with [beaker](https://github.com/puppetlabs/beaker).
|
|
8
|
+
|
|
9
|
+
Beaker will automatically load the appropriate hypervisors for any given hosts file, so as long as your project dependencies are satisfied there's nothing else to do. No need to `require` this library in your tests.
|
|
10
|
+
|
|
11
|
+
## With Beaker 3.x
|
|
12
|
+
|
|
13
|
+
This library is included as a dependency of Beaker 3.x versions, so there's nothing to do.
|
|
14
|
+
|
|
15
|
+
## With Beaker 4.x
|
|
16
|
+
|
|
17
|
+
As of Beaker 4.0, all hypervisor and DSL extension libraries have been removed and are no longer dependencies. In order to use a specific hypervisor or DSL extension library in your project, you will need to include them alongside Beaker in your Gemfile or project.gemspec. E.g.
|
|
18
|
+
|
|
19
|
+
~~~ruby
|
|
20
|
+
# Gemfile
|
|
21
|
+
gem 'beaker', '~>4.0'
|
|
22
|
+
gem 'beaker-vmpooler'
|
|
23
|
+
# project.gemspec
|
|
24
|
+
s.add_runtime_dependency 'beaker', '~>4.0'
|
|
25
|
+
s.add_runtime_dependency 'beaker-vmpooler'
|
|
26
|
+
~~~
|
|
8
27
|
|
|
9
28
|
# Spec tests
|
|
10
29
|
|
|
@@ -169,7 +169,7 @@ module Beaker
|
|
|
169
169
|
@logger.debug("Retrying provision for vmpooler host after waiting #{wait} second(s)")
|
|
170
170
|
sleep wait
|
|
171
171
|
waited += wait
|
|
172
|
-
last_wait, wait = wait, last_wait + wait
|
|
172
|
+
last_wait, wait = wait, [last_wait + wait, 15].min + rand(5)
|
|
173
173
|
retry
|
|
174
174
|
end
|
|
175
175
|
report_and_raise(@logger, e, 'Vmpooler.provision')
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: beaker-vmpooler
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.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-
|
|
11
|
+
date: 2018-11-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|