beaker-testmode_switcher 0.4.0 → 0.4.1
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bcaed835292641c09d1f3199750be2134e11c6455e3993ec137852b4711aa3bd
|
4
|
+
data.tar.gz: e445852657daac0ae2361c2c3170389577248eeaa1377b7778a60e56f297274f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa23f45aa8e8613987ed742d0f0c04907ed0c1b52ca3aee70e0cd8810825da16e0f50a4af8a6398462634064bd1a955c325eabe3342bcf7ada9621c731895c5f
|
7
|
+
data.tar.gz: 306b2671fa187953e335040d8caaaa22675cbf58476268634a2c26baea4fb86935ce7d1a3213ea406efea7b93404791e263b26b8a9693d325abee1d6b5d4d25c
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# 2018-17-07 Version 0.4.1
|
2
|
+
#### Summary
|
3
|
+
This release corrects a bug that doesn't return results correctly when multiple hosts are specified.
|
4
|
+
|
5
|
+
### BugFixes
|
6
|
+
- execute_manifest_on doesn't return results correctly when multiple hosts are specified.
|
7
|
+
|
1
8
|
# 2018-03-07 Version 0.4.0
|
2
9
|
### Summary
|
3
10
|
Adds the ability for execute_manifest_on to work in both agent and apply; improvements for create_remote_file_ex.
|
@@ -96,7 +96,13 @@ module Beaker
|
|
96
96
|
environment: opts[:environment] || {},
|
97
97
|
acceptable_exit_codes: (0...256))
|
98
98
|
|
99
|
-
|
99
|
+
if res.is_a? Array
|
100
|
+
res.each do |result|
|
101
|
+
handle_puppet_run_returned_exit_code(get_acceptable_puppet_run_exit_codes(opts), result.exit_code)
|
102
|
+
end
|
103
|
+
else
|
104
|
+
handle_puppet_run_returned_exit_code(get_acceptable_puppet_run_exit_codes(opts), res.exit_code)
|
105
|
+
end
|
100
106
|
res
|
101
107
|
end
|
102
108
|
end
|
@@ -124,7 +130,13 @@ module Beaker
|
|
124
130
|
expect_failures: true,
|
125
131
|
acceptable_exit_codes: (0...256))
|
126
132
|
|
127
|
-
|
133
|
+
if res.is_a? Array
|
134
|
+
res.each do |result|
|
135
|
+
handle_puppet_run_returned_exit_code(get_acceptable_puppet_run_exit_codes(opts), result.exit_code)
|
136
|
+
end
|
137
|
+
else
|
138
|
+
handle_puppet_run_returned_exit_code(get_acceptable_puppet_run_exit_codes(opts), res.exit_code)
|
139
|
+
end
|
128
140
|
res
|
129
141
|
end
|
130
142
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-testmode_switcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: exe
|
14
14
|
cert_chain: []
|
15
|
-
date: 2018-
|
15
|
+
date: 2018-07-17 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: beaker
|
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
version: '0'
|
89
89
|
requirements: []
|
90
90
|
rubyforge_project:
|
91
|
-
rubygems_version: 2.6
|
91
|
+
rubygems_version: 2.7.6
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: Let's you run your puppet module tests in master/agent, apply or local mode.
|