beaker-pe 1.41.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12b75b05d53ce6381a5810cf567cc7973939dffb
4
- data.tar.gz: 675f6cda669d071688634aadbd821843da944300
3
+ metadata.gz: d6cefe943d333e23d9b80b41af6e5dd9409b3c40
4
+ data.tar.gz: bbfc783c5cd03ad65c962c8ba9998dd6e2d292f2
5
5
  SHA512:
6
- metadata.gz: 96a79cf29765bcd56b98fa83c2335cec9234c9f42b904fced03b86a479ff7e9d78d97f9e0db10e83644b5fa85ca78ab38834f58a4669fac763bf05a74336780f
7
- data.tar.gz: f447d2fcf412bbf4cf9e24e363d2f3b5efe41a2df6cf0741eafc00f55715186afebc71f82be695d4ed742ab565c5d1f955a42e928ebada78ba4b9de18469507e
6
+ metadata.gz: 15d2c0aad4d1194c4f25fb919ea13885e977d7035c8815d769a963f57e1d79d211a00aabd859550f2c97b88c4c96be7f7f7e958a07a9b4fb2b4b6f32918dd7cd
7
+ data.tar.gz: 42ad9a0c9282484165fdce6c37798a2ac0ee2193db3c1aa1cf55ee57929583edc649773c6d4356cacfccdd77988ae988d19580957f3ea03450d6248926e73cf0
data/Gemfile CHANGED
@@ -12,10 +12,9 @@ def location_for(place, fake_version = nil)
12
12
  end
13
13
  end
14
14
 
15
- # We don't put beaker in as a test dependency because we
16
- # don't want to create a transitive dependency
17
15
  group :acceptance_testing do
18
- gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '~> 3.0')
16
+ gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '~> 4.0')
17
+ gem "beaker-vmpooler", *location_for(ENV['BEAKER_VMPOOLER_VERSION'] || '~> 1.3')
19
18
  end
20
19
 
21
20
  if ENV['GEM_SOURCE'] =~ /artifactory\.delivery\.puppetlabs\.net/
@@ -1 +1,3 @@
1
+ require 'test_helpers.rb'
2
+
1
3
  install_pe
@@ -1,3 +1,4 @@
1
+ require 'test_helpers.rb'
1
2
 
2
3
  # Acceptance level testing goes into files in the tests directory like this one,
3
4
  # Each file corresponding to a new test made up of individual testing steps
@@ -1,3 +1,5 @@
1
+ require 'test_helpers.rb'
2
+
1
3
  test_name "puppet install smoketest"
2
4
 
3
5
  step 'puppet install smoketest: verify \'facter --help\' can be successfully called on all hosts'
data/beaker-pe.gemspec CHANGED
@@ -31,6 +31,8 @@ Gem::Specification.new do |s|
31
31
  s.add_development_dependency 'thin'
32
32
 
33
33
  # Run time dependencies
34
+ s.add_runtime_dependency 'beaker', '~>4.0'
35
+ s.add_runtime_dependency 'beaker-puppet', '~>1.0'
34
36
  s.add_runtime_dependency 'stringify-hash', '~> 0.0.0'
35
37
  s.add_runtime_dependency 'beaker-answers', '~> 0.0'
36
38
  s.add_runtime_dependency 'beaker-abs'
data/lib/beaker-pe.rb CHANGED
@@ -1,3 +1,6 @@
1
+ require 'beaker'
2
+ require 'beaker-puppet'
3
+
1
4
  require 'stringify-hash'
2
5
  require 'beaker-pe/version'
3
6
  require 'beaker-pe/install/pe_defaults'
@@ -23,13 +26,3 @@ end
23
26
  # Boilerplate DSL inclusion mechanism:
24
27
  # First we register our module with the Beaker DSL
25
28
  Beaker::DSL.register( Beaker::DSL::PE )
26
-
27
- # Second,We need to reload the DSL, but before we had reloaded
28
- # it in the global namespace, which result in errors colliding
29
- # with other gems rightfully not expecting beaker's dsl to
30
- # be available at the global level.
31
- module Beaker
32
- class TestCase
33
- include Beaker::DSL
34
- end
35
- end
@@ -1,5 +1,5 @@
1
- [ 'aio_defaults', 'pe_defaults', 'puppet_utils', 'windows_utils' ].each do |lib|
2
- require "beaker/dsl/install_utils/#{lib}"
1
+ [ 'aio_defaults', 'puppet_utils', 'windows_utils' ].each do |lib|
2
+ require "beaker-puppet/install_utils/#{lib}"
3
3
  end
4
4
  require 'beaker-pe/install/feature_flags'
5
5
  require "beaker-answers"
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '1.41.1'
6
+ STRING = '2.0.0'
7
7
  end
8
8
 
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-pe
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.41.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-30 00:00:00.000000000 Z
11
+ date: 2018-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -142,6 +142,34 @@ dependencies:
142
142
  - - ">="
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
+ - !ruby/object:Gem::Dependency
146
+ name: beaker
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - "~>"
150
+ - !ruby/object:Gem::Version
151
+ version: '4.0'
152
+ type: :runtime
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - "~>"
157
+ - !ruby/object:Gem::Version
158
+ version: '4.0'
159
+ - !ruby/object:Gem::Dependency
160
+ name: beaker-puppet
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - "~>"
164
+ - !ruby/object:Gem::Version
165
+ version: '1.0'
166
+ type: :runtime
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - "~>"
171
+ - !ruby/object:Gem::Version
172
+ version: '1.0'
145
173
  - !ruby/object:Gem::Dependency
146
174
  name: stringify-hash
147
175
  requirement: !ruby/object:Gem::Requirement