beaker-puppet 0.13.2 → 0.13.3

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: 32ce5196cb45a1b0dbcf67bc6be1dc34470c8f6f
4
- data.tar.gz: ceb78a8b6820c970dbe3c76c08b9c57eb9a5fe7a
3
+ metadata.gz: da73693c535ed78cfde43029b2c2c7b0bc3e0d4f
4
+ data.tar.gz: 4706afb84f74dd8d13cf7d5ad46bb320f5294dad
5
5
  SHA512:
6
- metadata.gz: 11eb5ca8d2ff0fddcc499e3ebdc966b987ddf944a09ff2483535fdcc53ad0374c39738c877764b2a2a9ffc6b317a0f01b5e29108f6d7f566055df1de37b62e08
7
- data.tar.gz: d72ebe97747ff116490368d423590e967e5ecec674b9059c7d58a8bf96c855c044860780e56f3d83ea9f89558e4a4e8074e9cc78b32b149a1fbbdd7b4fb729c8
6
+ metadata.gz: b0a14fb382b29db5da6fb1bdd7b10d7a6437a55b43fe12be2015add2ea9105d14fe989978f276571053eab8b9fdb7e19ff2b5dc6eae6c61fcaba0fc90f1c2ddf
7
+ data.tar.gz: 318c2814ff69d56716c9451f3cb80e6fd180ff037e02917bde5326b88534c6ca5d1aa26333b34438186b4ad2f2893c15c52eb24206edb61dc712b8273122f77b
@@ -103,7 +103,7 @@ module BeakerPuppet
103
103
  onhost_package_file = "#{project_name}*"
104
104
  host.install_local_package(onhost_package_file)
105
105
  when 'windows'
106
- install_msi_on(host, artifact_url)
106
+ generic_install_msi_on(host, artifact_url)
107
107
  when 'aix'
108
108
  artifact_filename = File.basename(artifact_url)
109
109
  artifact_folder = File.dirname(artifact_url)
@@ -1,3 +1,3 @@
1
1
  module BeakerPuppet
2
- VERSION = '0.13.2'
2
+ VERSION = '0.13.3'
3
3
  end
data/tasks/ci.rake CHANGED
@@ -8,7 +8,7 @@ require 'beaker/dsl/install_utils'
8
8
  extend Beaker::DSL::InstallUtils
9
9
 
10
10
  REPO_CONFIGS_DIR = 'repo-configs'
11
- CLEAN.include('*.tar', REPO_CONFIGS_DIR, 'tmp', '.beaker')
11
+ CLEAN.include('*.tar', REPO_CONFIGS_DIR, 'tmp', '.beaker', 'log', 'junit')
12
12
 
13
13
  # Default test target if none specified
14
14
  # TODO There are some projects that do not need to test against a master. It
@@ -190,7 +190,9 @@ EOS
190
190
  beaker(:provision)
191
191
  beaker(:exec, 'pre-suite', '--pre-suite', pre_suites(:gem))
192
192
  beaker(:exec, "#{File.dirname(__dir__)}/setup/gem/010_GemInstall.rb")
193
- beaker(:destroy) unless ENV['OPTIONS'].include?('--preserve-hosts=always')
193
+
194
+ preserve_hosts = ENV['OPTIONS'].include?('--preserve-hosts=always') if ENV['OPTIONS']
195
+ beaker(:destroy) unless preserve_hosts
194
196
  end
195
197
 
196
198
  desc <<-EOS
@@ -236,7 +238,9 @@ def beaker_suite(type)
236
238
  beaker(:exec, 'pre-suite')
237
239
  beaker(:exec, ENV['TESTS'])
238
240
  beaker(:exec, 'post-suite')
239
- beaker(:destroy) unless ENV['OPTIONS'].include?('--preserve-hosts=always')
241
+
242
+ preserve_hosts = ENV['OPTIONS'].include?('--preserve-hosts=always') if ENV['OPTIONS']
243
+ beaker(:destroy) unless preserve_hosts
240
244
  end
241
245
 
242
246
  def pre_suites(type)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.2
4
+ version: 0.13.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-11 00:00:00.000000000 Z
11
+ date: 2018-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec