beaker 2.27.0 → 2.28.0
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 +8 -8
- data/HISTORY.md +378 -2
- data/README.md +1 -3
- data/acceptance/config/acceptance-options.rb +3 -0
- data/acceptance/fixtures/files/failing_shell_script.txt +3 -0
- data/acceptance/fixtures/files/retry_script.txt +14 -0
- data/acceptance/fixtures/files/shell_script_with_output.txt +3 -0
- data/acceptance/fixtures/files/simple_text_file.txt +3 -0
- data/acceptance/fixtures/files/sles-11-x86_64.repo +5 -0
- data/acceptance/lib/helpers/test_helper.rb +111 -0
- data/acceptance/tests/base/dsl/helpers/configuration_test.rb +17 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/add_system32_hosts_entry_test.rb +50 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/backup_the_file_test.rb +64 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/check_for_package_test.rb +100 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/create_remote_file_test.rb +201 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/create_tmpdir_on_test.rb +68 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/curl_on_test.rb +48 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/curl_with_retries_test.rb +28 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/deploy_package_repo_test.rb +142 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/echo_on_test.rb +13 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/install_package_test.rb +67 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/on_test.rb +109 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/retry_on_test.rb +42 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/rsync_to_test.rb +143 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/run_cron_on_test.rb +242 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/run_script_on_test.rb +69 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/run_script_test.rb +53 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/scp_from_test.rb +53 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/scp_to_test.rb +54 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/shell_test.rb +51 -0
- data/acceptance/tests/base/dsl/helpers/host_helpers/upgrade_package_test.rb +92 -0
- data/acceptance/tests/base/dsl/install_utils/clone_git_repo_on_test.rb +47 -0
- data/acceptance/tests/base/{host.rb → host_test.rb} +2 -0
- data/acceptance/tests/hypervisor/{communication.rb → communication_test.rb} +0 -0
- data/acceptance/tests/load_path_bootstrap.rb +10 -0
- data/acceptance/tests/puppet/{install_smoke.rb → install_smoke_test.rb} +0 -0
- data/beaker.gemspec +1 -1
- data/docs/Access-the-Live-Test-Console-with-Pry.md +305 -0
- data/docs/Argument-Processing-and-Precedence.md +325 -0
- data/docs/Beaker-Installation.md +59 -0
- data/docs/Beaker-Owners-and-Reviewers.md +16 -0
- data/docs/Beaker-Test-Tagging.md +76 -0
- data/docs/Beaker-with-Masterless-Puppet.md +42 -0
- data/docs/Creating-A-Test-Environment.md +91 -0
- data/docs/Docker-Support.md +129 -0
- data/docs/EC2-Support.md +77 -0
- data/docs/Example-Vagrant-Hosts-Files.md +66 -0
- data/docs/File-a-Beaker-Bug.md +3 -0
- data/docs/Google-Compute-Engine-Support.md +41 -0
- data/docs/How-To-Beaker.md +7 -0
- data/docs/How-To-Use-User-Password-Authentication-with-Beaker.md +53 -0
- data/docs/How-to-Write-a-Beaker-Test-for-a-Module.md +145 -0
- data/docs/Lets-Write-a-Test.md +73 -0
- data/docs/Openstack-Support.md +32 -0
- data/docs/Overview.md +31 -0
- data/docs/README.md +43 -0
- data/docs/Roles-What-Are-They.md +44 -0
- data/docs/Shared-Options-for-Executing-Beaker-Commands.md +43 -0
- data/docs/Solaris-Support.md +10 -0
- data/docs/The-Beaker-DSL.md +283 -0
- data/docs/The-Command-Line.md +24 -0
- data/docs/Types,-Puppet-4,-and-the-All-In-One-Agent.md +13 -0
- data/docs/VMWare-Fusion-Support.md +36 -0
- data/docs/Vagrant-Support.md +47 -0
- data/docs/beaker-vs.-beaker-rspec.md +87 -0
- data/docs/hosts/README.md +8 -0
- data/docs/hosts/eos.md +30 -0
- data/docs/hypervisors/README.md +8 -0
- data/docs/hypervisors/aws.md +143 -0
- data/docs/vSphere-Support.md +46 -0
- data/lib/beaker/dsl/helpers/host_helpers.rb +2 -4
- data/lib/beaker/dsl/helpers/puppet_helpers.rb +45 -11
- data/lib/beaker/dsl/install_utils/foss_utils.rb +20 -23
- data/lib/beaker/dsl/install_utils/module_utils.rb +4 -0
- data/lib/beaker/dsl/install_utils/pe_utils.rb +2 -6
- data/lib/beaker/dsl/patterns.rb +1 -1
- data/lib/beaker/host.rb +3 -0
- data/lib/beaker/host/eos.rb +56 -0
- data/lib/beaker/host/mac/pkg.rb +1 -1
- data/lib/beaker/host/unix/pkg.rb +36 -0
- data/lib/beaker/hypervisor/aws_sdk.rb +1 -1
- data/lib/beaker/hypervisor/vagrant.rb +3 -3
- data/lib/beaker/logger.rb +1 -0
- data/lib/beaker/options/presets.rb +5 -0
- data/lib/beaker/shared/host_manager.rb +7 -4
- data/lib/beaker/version.rb +1 -1
- data/spec/beaker/dsl/helpers/puppet_helpers_spec.rb +87 -0
- data/spec/beaker/dsl/install_utils/foss_utils_spec.rb +53 -20
- data/spec/beaker/dsl/install_utils/module_utils_spec.rb +1 -1
- data/spec/beaker/dsl/install_utils/pe_utils_spec.rb +7 -14
- data/spec/beaker/host/eos_spec.rb +65 -0
- data/spec/beaker/host/unix/pkg_spec.rb +42 -0
- data/spec/beaker/hypervisor/aws_sdk_spec.rb +17 -56
- data/spec/beaker/hypervisor/vagrant_spec.rb +1 -1
- data/spec/beaker/logger_spec.rb +1 -1
- data/spec/mocks.rb +0 -13
- metadata +76 -6
- data/acceptance/tests/dsl/install_utils/clone_git_repo_on.rb +0 -50
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YWE3MmE2YzFiZGU2MDMwMDI1YTUyNTMxMDZhYmQ1OTY0NTRkMTk3Yg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MDkxZmJjOTA5OWU4NDMyMmM4NjMxM2U5OTc5ZmY4NzFmNzM2YzA2ZQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ODNhOTgzNmEyZjIyMTI4OTE3OWE1MGEwOWQwNmQ3ZjA4YzliOGI0YTQ0Yzdi
|
|
10
|
+
YmI1MjQ2Yzg0NDg5ZjYxYzZkYjMyZDYzNjNlZjgwNjdjMjAzNGQ3MWNhNWVh
|
|
11
|
+
MjAxMmQzNDA1YTc2YjU0M2VlZjNhZmQ0ZjZhMWI1ZWYxZjQxZGQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
Y2U5YmIxNDMzNmY2NjdjODg3NDgxNmY4MDFlYTcwOGU4NGE2ZDc4MGJhMmI1
|
|
14
|
+
NGVjMjM4OGE3MmM5ZjQ0NTBhZDFkMGQ1MzZmNmZlMWIzZjM2NDFjZDdjNmM1
|
|
15
|
+
NjExNjQ2OTA3MzJkMjU1MGE2NGVkYmFiNjgzMzMyYTBiZDNlY2M=
|
data/HISTORY.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# default - History
|
|
2
2
|
## Tags
|
|
3
|
-
* [LATEST -
|
|
3
|
+
* [LATEST - 4 Nov, 2015 (aadc0fcc)](#LATEST)
|
|
4
|
+
* [2.27.0 - 21 Oct, 2015 (0378d13a)](#2.27.0)
|
|
4
5
|
* [2.26.0 - 13 Oct, 2015 (427a512b)](#2.26.0)
|
|
5
6
|
* [2.25.0 - 1 Oct, 2015 (51d4cb1a)](#2.25.0)
|
|
6
7
|
* [2.24.0 - 15 Sep, 2015 (c12e9054)](#2.24.0)
|
|
@@ -99,7 +100,382 @@
|
|
|
99
100
|
* [pe1.2 - 6 Sep, 2011 (ba3dadd2)](#pe1.2)
|
|
100
101
|
|
|
101
102
|
## Details
|
|
102
|
-
### <a name = "LATEST">LATEST -
|
|
103
|
+
### <a name = "LATEST">LATEST - 4 Nov, 2015 (aadc0fcc)
|
|
104
|
+
|
|
105
|
+
* (GEM) update beaker version to 2.28.0 (aadc0fcc)
|
|
106
|
+
|
|
107
|
+
* Merge pull request #1006 from puppetlabs/qeng-3063/flush-output-to-prevent-reboot-timeout-problems (7a273b77)
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
Merge pull request #1006 from puppetlabs/qeng-3063/flush-output-to-prevent-reboot-timeout-problems
|
|
112
|
+
|
|
113
|
+
[QENG-3063] Fix reboot test timeout issues on jenkins
|
|
114
|
+
```
|
|
115
|
+
* (QENG-3063/BKR-612) Wrap rsync tests in `fails_intermittently` (666e7944)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
(QENG-3063/BKR-612) Wrap rsync tests in `fails_intermittently`
|
|
120
|
+
|
|
121
|
+
These tests are failing intermittently under very similar conditions as the
|
|
122
|
+
failure being addressed in QENG-3063: when a host obtains a new IP address after
|
|
123
|
+
a `host.reboot`, calls to `host.create_remote_file` using the rsync protocol,
|
|
124
|
+
and `host.rsync_to` fail, apparently due to SSH host keys having changed and
|
|
125
|
+
causing an error that is also not properly reported, but also due to another
|
|
126
|
+
root cause which is potentially related to stale IP addresses being used for
|
|
127
|
+
rsync-ssh connections.
|
|
128
|
+
|
|
129
|
+
Wrapping these testshere to get the QENG-3063 tests to land green. Separately
|
|
130
|
+
work for BKR-612 will address the rsync issue.
|
|
131
|
+
```
|
|
132
|
+
* (QENG-3063) Use `StringIO` instead of `MockIO` in logger specs (74f97eb1)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
(QENG-3063) Use `StringIO` instead of `MockIO` in logger specs
|
|
137
|
+
|
|
138
|
+
Prior to this, attempting to use `.flush` on our logger instance (which is
|
|
139
|
+
necessary) would cause the various logger-related spec tests to fail. These
|
|
140
|
+
tests are overly mockist, but are also unnecessarily using a home-grown
|
|
141
|
+
under-featured `MockIO` class that provides less functionality than just using
|
|
142
|
+
the standard `StringIO` class, as normal IO testers are wont to do.
|
|
143
|
+
```
|
|
144
|
+
* (QENG-3063) Fix reboot test timeout issues on jenkins (98cd7785)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
```
|
|
148
|
+
(QENG-3063) Fix reboot test timeout issues on jenkins
|
|
149
|
+
|
|
150
|
+
Prior to this change, the `host_test.rb` check for rebooting systems could
|
|
151
|
+
sometimes fail, only on our Beaker acceptance jenkins, but in such a way that
|
|
152
|
+
it was clear that something was happening after the attempt to reboot started,
|
|
153
|
+
but no further output was available.
|
|
154
|
+
|
|
155
|
+
Exploratory work showed that when a rebooted host changes IP address, it is
|
|
156
|
+
possible for not only the normal long sequence of Fibonacci-fallback connect
|
|
157
|
+
retries to happen, but for also various low-level TCP connection failures (with
|
|
158
|
+
their own long timeouts) to occur.
|
|
159
|
+
|
|
160
|
+
Since output was being buffered, and not flushed, and neither of these phases
|
|
161
|
+
was generating a lot of output (enough to trigger a buffer flush on its own),
|
|
162
|
+
it was possible for more than our 10 minute jenkins output timeout to pass
|
|
163
|
+
without effectively changing the output buffer.
|
|
164
|
+
|
|
165
|
+
Flushing our log output overcomes the jenkins timeout problem. We do not here
|
|
166
|
+
address questions of long IP-address change timeouts.
|
|
167
|
+
```
|
|
168
|
+
* Merge pull request #990 from petems/BKR-583-version_bug_fix (d5a7c089)
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
```
|
|
172
|
+
Merge pull request #990 from petems/BKR-583-version_bug_fix
|
|
173
|
+
|
|
174
|
+
(BKR-583) Fixes incorrect error when MSI missing
|
|
175
|
+
```
|
|
176
|
+
* Merge pull request #989 from petems/BKR-584-fix_mkdir_on_windows (4ad80330)
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
```
|
|
180
|
+
Merge pull request #989 from petems/BKR-584-fix_mkdir_on_windows
|
|
181
|
+
|
|
182
|
+
(BKR-584) Change to use mkdir_p helper command
|
|
183
|
+
```
|
|
184
|
+
* Merge pull request #1003 from GeoffWilliams/rublib_reset (1a854bc3)
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
```
|
|
188
|
+
Merge pull request #1003 from GeoffWilliams/rublib_reset
|
|
189
|
+
|
|
190
|
+
(BKR-511) Beaker fails to launch Vagrant VMs when run within Bundler
|
|
191
|
+
```
|
|
192
|
+
* Merge pull request #1004 from puppetlabs/bkr-358/land-host-helpers-acceptance-tests (b3fa28fe)
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
```
|
|
196
|
+
Merge pull request #1004 from puppetlabs/bkr-358/land-host-helpers-acceptance-tests
|
|
197
|
+
|
|
198
|
+
[BKR-358] Add acceptance tests for host helpers
|
|
199
|
+
```
|
|
200
|
+
* (BKR-358) Add acceptance tests for host helpers (7473e353)
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
```
|
|
204
|
+
(BKR-358) Add acceptance tests for host helpers
|
|
205
|
+
|
|
206
|
+
This adds acceptance tests, along with a configuration file suitable for running
|
|
207
|
+
these tests in our jenkins instance, for the Beaker host helpers.
|
|
208
|
+
|
|
209
|
+
This also temporarily disables the "reboot" host acceptance test, which has been
|
|
210
|
+
intermittently failing, and will be re-enabled via closure of QENG-3063.
|
|
211
|
+
|
|
212
|
+
This work is detailed in the GitHub Pull Request at:
|
|
213
|
+
|
|
214
|
+
https://github.com/puppetlabs/beaker/pull/930
|
|
215
|
+
```
|
|
216
|
+
* (BKR-511) Beaker fails to launch Vagrant VMs when run within Bundler (e479c7cd)
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
```
|
|
220
|
+
(BKR-511) Beaker fails to launch Vagrant VMs when run within Bundler
|
|
221
|
+
|
|
222
|
+
Unset the RUBYLIB variable before shelling out to run vagrant. Fixes dependency on outdated version of bundler
|
|
223
|
+
```
|
|
224
|
+
* Merge pull request #998 from kevpl/bkr598_aws_keymod (18c39ce1)
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
```
|
|
228
|
+
Merge pull request #998 from kevpl/bkr598_aws_keymod
|
|
229
|
+
|
|
230
|
+
(BKR-598) made AWS EC2 key name collision impractical
|
|
231
|
+
```
|
|
232
|
+
* Merge pull request #1001 from johnduarte/remove-aix-tar (97692dca)
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
```
|
|
236
|
+
Merge pull request #1001 from johnduarte/remove-aix-tar
|
|
237
|
+
|
|
238
|
+
(BKR-607) Remove tar dependency for AIX
|
|
239
|
+
```
|
|
240
|
+
* (BKR-607) Remove tar dependency for AIX (ce1e169f)
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
```
|
|
244
|
+
(BKR-607) Remove tar dependency for AIX
|
|
245
|
+
|
|
246
|
+
Prior to this commit, Beaker installed -- and removed -- tar as
|
|
247
|
+
a dependency of the puppet-agent package on AIX. This dependency
|
|
248
|
+
has been removed from puppet-agent.
|
|
249
|
+
|
|
250
|
+
This commit removes the logic to install and remove the tar rpm
|
|
251
|
+
from AIX. It also updates the rpec test for `remove_puppet_on`
|
|
252
|
+
on AIX to remove the expectation that `tar` would a dependency.
|
|
253
|
+
```
|
|
254
|
+
* Merge pull request #995 from kevpl/bkr588_eos_update (4d692e26)
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
```
|
|
258
|
+
Merge pull request #995 from kevpl/bkr588_eos_update
|
|
259
|
+
|
|
260
|
+
(BKR-588) updated eos install support
|
|
261
|
+
```
|
|
262
|
+
* Merge pull request #991 from kevpl/bkr590_ports_parameterize (1a9784e9)
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
```
|
|
266
|
+
Merge pull request #991 from kevpl/bkr590_ports_parameterize
|
|
267
|
+
|
|
268
|
+
(BKR-590) parameterized ports in helpers
|
|
269
|
+
```
|
|
270
|
+
* Merge pull request #994 from johnduarte/cumulus-remove (8d9cd4e1)
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
```
|
|
274
|
+
Merge pull request #994 from johnduarte/cumulus-remove
|
|
275
|
+
|
|
276
|
+
(BKR-597) Add cumulus logic to remove_puppet_on
|
|
277
|
+
```
|
|
278
|
+
* Merge pull request #992 from bkero/master (9e80a972)
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
```
|
|
282
|
+
Merge pull request #992 from bkero/master
|
|
283
|
+
|
|
284
|
+
(BKR-592) Add < 1.35.0 dep constraint to fog
|
|
285
|
+
```
|
|
286
|
+
* Merge pull request #999 from puppetlabs/maint/fix-readme-docs-link (261a920e)
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
```
|
|
290
|
+
Merge pull request #999 from puppetlabs/maint/fix-readme-docs-link
|
|
291
|
+
|
|
292
|
+
(MAINT) Update main README.md docs link
|
|
293
|
+
```
|
|
294
|
+
* (MAINT) Update main README.md docs link (8c979e91)
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
```
|
|
298
|
+
(MAINT) Update main README.md docs link
|
|
299
|
+
|
|
300
|
+
This was missed in the final change-over from Home.md during BKR-602, updating so that
|
|
301
|
+
this points to the new right place.
|
|
302
|
+
```
|
|
303
|
+
* Merge pull request #983 from alexharv074/BKR-579 (3558e0bf)
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
```
|
|
307
|
+
Merge pull request #983 from alexharv074/BKR-579
|
|
308
|
+
|
|
309
|
+
(BKR-579) rpm calls to respect package_proxy opt
|
|
310
|
+
```
|
|
311
|
+
* (BKR-598) made AWS EC2 key name collision impractical (1ba4ae60)
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
```
|
|
315
|
+
(BKR-598) made AWS EC2 key name collision impractical
|
|
316
|
+
|
|
317
|
+
Added the `:aws_keyname_modifier` property, randomly set to a string of
|
|
318
|
+
10 digits by default, will be used to make the AWS EC2 key name unique
|
|
319
|
+
to a Beaker run. The nanosecond time has been added to the key name as
|
|
320
|
+
well to make the chance for collisions even harder.
|
|
321
|
+
```
|
|
322
|
+
* Merge pull request #997 from puppetlabs/maint/ongoing-wiki-import-docs-tweaks (f188e7f5)
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
```
|
|
326
|
+
Merge pull request #997 from puppetlabs/maint/ongoing-wiki-import-docs-tweaks
|
|
327
|
+
|
|
328
|
+
(MAINT) Move docs to README.md, rename some files
|
|
329
|
+
```
|
|
330
|
+
* (BKR-588) added EOS docs (7b298942)
|
|
331
|
+
|
|
332
|
+
* (MAINT) Move docs to README.md, rename some files (d4a0dbdb)
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
```
|
|
336
|
+
(MAINT) Move docs to README.md, rename some files
|
|
337
|
+
|
|
338
|
+
Prior to this we were using Home.md as the root for documentation in docs/
|
|
339
|
+
(as a direct import from the wiki). A few files also picked up strange names at
|
|
340
|
+
some point in the automated cleanup process, so this fixes those, and normalizes
|
|
341
|
+
some file names with punctuation, etc.
|
|
342
|
+
```
|
|
343
|
+
* Merge pull request #993 from cowofevil/maint/master/BKR-596/fix_windows_path_support (6975e329)
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
```
|
|
347
|
+
Merge pull request #993 from cowofevil/maint/master/BKR-596/fix_windows_path_support
|
|
348
|
+
|
|
349
|
+
(BKR-596) Fix Windows Path Support
|
|
350
|
+
```
|
|
351
|
+
* Merge pull request #996 from puppetlabs/bkr-xxx/move-wiki-to-in-repo-docs (5709ac2b)
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
```
|
|
355
|
+
Merge pull request #996 from puppetlabs/bkr-xxx/move-wiki-to-in-repo-docs
|
|
356
|
+
|
|
357
|
+
(BKR-600) Import wiki docs, relativize markdown links
|
|
358
|
+
```
|
|
359
|
+
* (BKR-600) Import wiki docs, relative markdown links (09f2d189)
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
```
|
|
363
|
+
(BKR-600) Import wiki docs, relative markdown links
|
|
364
|
+
|
|
365
|
+
Import was via:
|
|
366
|
+
|
|
367
|
+
git subtree add --prefix docs https://github.com/puppetlabs/beaker.wiki.git master --squash
|
|
368
|
+
|
|
369
|
+
Cleanup was via:
|
|
370
|
+
|
|
371
|
+
perl -p -i -e "s|https://github\.com/puppetlabs/beaker/wiki/([^.)#]+)([#)])|\1.md\2|g" docs/*
|
|
372
|
+
|
|
373
|
+
Additionally did some manual whitespace cleanup, edited README.md.
|
|
374
|
+
|
|
375
|
+
Notes:
|
|
376
|
+
|
|
377
|
+
git-subtree-dir: doc
|
|
378
|
+
git-subtree-split: 750f8dec7b5d453bcc567dec14b43b5d1f319447
|
|
379
|
+
```
|
|
380
|
+
* Merge pull request #986 from kevpl/bkr587_applymanifeston_docs2 (2fd10105)
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
```
|
|
384
|
+
Merge pull request #986 from kevpl/bkr587_applymanifeston_docs2
|
|
385
|
+
|
|
386
|
+
(BKR-587) added nil as a result to apply_manifest_on docs
|
|
387
|
+
```
|
|
388
|
+
* (BKR-588) updated eos install support (4f9d11d9)
|
|
389
|
+
|
|
390
|
+
* (BKR-596) Fix Broken Spec Test (c8f66627)
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
```
|
|
394
|
+
(BKR-596) Fix Broken Spec Test
|
|
395
|
+
|
|
396
|
+
Should have fixed this in the first place!
|
|
397
|
+
```
|
|
398
|
+
* (BKR-596) Fix Windows Path Support (867141f9)
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
```
|
|
402
|
+
(BKR-596) Fix Windows Path Support
|
|
403
|
+
|
|
404
|
+
The "copy_module_to" method does not detect if the target machine is Windows
|
|
405
|
+
after SCP copy of the module. It attempts to move the directory because path
|
|
406
|
+
joining does not account for "/" separators in the path.
|
|
407
|
+
```
|
|
408
|
+
* (BKR-597) Add cumulus logic to remove_puppet_on (a697937e)
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
```
|
|
412
|
+
(BKR-597) Add cumulus logic to remove_puppet_on
|
|
413
|
+
|
|
414
|
+
This commit adds logic for gathering installed puppet packages
|
|
415
|
+
on cumulus for removal in the `remove_puppet_on` method
|
|
416
|
+
```
|
|
417
|
+
* (BKR-592) Add < 1.35.0 dep constraint to fog (3625c573)
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
```
|
|
421
|
+
(BKR-592) Add < 1.35.0 dep constraint to fog
|
|
422
|
+
|
|
423
|
+
This commit adds a < 1.35.0 dependency constraint to the fog entry in
|
|
424
|
+
beaker's gemspec file. This fixes a problem introduced in fog 1.35.0
|
|
425
|
+
where it starts depending on a newer version of fog-google than beaker
|
|
426
|
+
currently allows.
|
|
427
|
+
```
|
|
428
|
+
* (BKR-579) rpm calls to respect package_proxy opt (6b9aeab0)
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
```
|
|
432
|
+
(BKR-579) rpm calls to respect package_proxy opt
|
|
433
|
+
|
|
434
|
+
Without this patch applied, the call to rpm in Beaker::DSL::InstallUtils
|
|
435
|
+
ignores the package_proxy option.
|
|
436
|
+
|
|
437
|
+
We add two new methods, extract_rpm_proxy_options and
|
|
438
|
+
install_package_with_rpm.
|
|
439
|
+
|
|
440
|
+
The extract_rpm_proxy_options method is needed as the rpm command
|
|
441
|
+
expects command line options --httpproxy and --httpport.
|
|
442
|
+
|
|
443
|
+
The install_package_with_rpm method is needed in order to install rpms
|
|
444
|
+
from a remote URL address. The existing install_package method uses yum
|
|
445
|
+
and yum can't install an rpm from a remote URL.
|
|
446
|
+
|
|
447
|
+
Spec tests are provided for the new methods and one redundant spec test
|
|
448
|
+
is deleted.
|
|
449
|
+
```
|
|
450
|
+
* (BKR-590) parameterized ports in helpers (b26470f8)
|
|
451
|
+
|
|
452
|
+
* (BKR-584) Change to use mkdir_p helper command (6f1deef2)
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
```
|
|
456
|
+
(BKR-584) Change to use mkdir_p helper command
|
|
457
|
+
|
|
458
|
+
Makes command cross-compatible for PSWindows
|
|
459
|
+
```
|
|
460
|
+
* (BKR-587) added nil as a result to apply_manifest_on docs (be3fb7dd)
|
|
461
|
+
|
|
462
|
+
* (BKR-583) Fixes incorrect error when MSI missing (2f117f1a)
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
```
|
|
466
|
+
(BKR-583) Fixes incorrect error when MSI missing
|
|
467
|
+
|
|
468
|
+
`version` variable missing, so get error:
|
|
469
|
+
|
|
470
|
+
`<NameError: undefined local variable or method 'version'>`
|
|
471
|
+
|
|
472
|
+
Rather than correct error:
|
|
473
|
+
|
|
474
|
+
`<RuntimeError: Puppet MSI at /puppet-agent-VERSION-x86.msi does not exist!>`
|
|
475
|
+
```
|
|
476
|
+
### <a name = "2.27.0">2.27.0 - 21 Oct, 2015 (0378d13a)
|
|
477
|
+
|
|
478
|
+
* (HISTORY) update beaker history for gem release 2.27.0 (0378d13a)
|
|
103
479
|
|
|
104
480
|
* (GEM) update beaker version to 2.27.0 (90fddaf4)
|
|
105
481
|
|
data/README.md
CHANGED
|
@@ -8,8 +8,7 @@ See [Beaker Installation](https://github.com/puppetlabs/beaker/wiki/Beaker-Insta
|
|
|
8
8
|
|
|
9
9
|
#Documentation
|
|
10
10
|
|
|
11
|
-
Documentation for Beaker can be found
|
|
12
|
-
[Beaker Wiki](https://github.com/puppetlabs/beaker/wiki).
|
|
11
|
+
Documentation for Beaker can be found in this repository in [the docs/ folder](docs/README.md).
|
|
13
12
|
|
|
14
13
|
#Beaker API
|
|
15
14
|
|
|
@@ -22,4 +21,3 @@ See [LICENSE](LICENSE) file.
|
|
|
22
21
|
#Support
|
|
23
22
|
|
|
24
23
|
Please log tickets and issues at our [Beaker Issue Tracker](https://tickets.puppetlabs.com/issues/?jql=project%20%3D%20BKR). In addition there is an active #puppet-dev channel on Freenode.
|
|
25
|
-
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
# This script which will fail the first `RETRY_LIMIT` times when run and then
|
|
3
|
+
# will exit successfully on later runs. It will store counter state in a file
|
|
4
|
+
# in the provided `BASEDIR` directory.
|
|
5
|
+
set -x
|
|
6
|
+
|
|
7
|
+
BASEDIR=${1}
|
|
8
|
+
RETRY_LIMIT=${2}
|
|
9
|
+
|
|
10
|
+
current=`cat ${BASEDIR}/value.txt || echo '0'`
|
|
11
|
+
current=$((current+1))
|
|
12
|
+
echo "${current}" > ${BASEDIR}/value.txt
|
|
13
|
+
if [ "$current" -gt "${RETRY_LIMIT}" ]; then exit 0; fi
|
|
14
|
+
exit 1
|