beaker
beaker copied to clipboard
Puppet Acceptance Testing Harness
WIth the work to support ruby 3 https://github.com/voxpupuli/beaker/commit/a32f4fdb161dfd68c60eef3cc6b266c44c504ebf permitted classes were enumerated to read from preserved hosts. This list appears to be incomplete when you have configured ssh for a...
When trying to run tests with beaker, I am getting a `Failed to exec 'vagrant up'` error. I am using `rbenv`, `ruby 2.7.6p219`, `bundler 2.3.19`. I found this issue on...
The logic at https://github.com/voxpupuli/beaker/blob/master/lib/beaker/host/unix/exec.rb#L283-L286 causes platform `el-9-x86_64` to run `/sbin/service sshd restart` (instead of `systemctl restart sshd.service`), which can fail if the `initscripts-service` package is not installed.
Sometimes tools expect a certain extension or it is just cleaner to have one. This adds an optional parameter which keeps the API compatible.
Current code has an unexpected behavior: https://github.com/voxpupuli/beaker/blob/master/lib/beaker/options/presets.rb#L197-L198 NET:SSH documentation sets it to true by default https://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start states > config => set to true to load the default OpenSSH config files...
See individual commits for details.
The code for this is a little hairy but, based on testing voxpupuli/beaker-docker, I don't think that `rsync` is able to use the password provided for SSH connections. The evidence...
The information below is being transferred from [Jira](https://tickets.puppetlabs.com/browse/BKR-1690): Problem 1: Environment: beaker tests on remote windows machines. Problem: When deleting folders with beaker method `rm_rf` which have spaces in their...
[retry_on()](https://github.com/voxpupuli/beaker/blob/master/lib/beaker/dsl/helpers/host_helpers.rb#L611) indicates that it can take an `Array` of hosts but its call to [log_prefix](https://github.com/voxpupuli/beaker/blob/master/lib/beaker/dsl/helpers/host_helpers.rb#L621) will cause a failure during execution since it is working on an `Array`. I would...
The regular option parser guarantees this and it sort of works because Beaker::Platform can behave as a string (since it inherits from it). When you do want to use extended...